Searched refs:op (Results 1 - 25 of 3466) sorted by relevance

1234567891011>>

/external/tensorflow/tensorflow/go/op/
H A Dgenerate.go20 package op
/external/clang/test/CodeGen/
H A D2006-03-17-KnRMismatch.c3 void regnode(int op);
5 void regnode(op)
6 char op;
/external/tensorflow/tensorflow/core/ops/
H A Dset_ops_test.cc17 #include "tensorflow/core/framework/op.h"
25 ShapeInferenceTestOp op("DenseToDenseSetOperation");
26 op.input_tensors.resize(3);
27 INFER_ERROR("Wrong number of inputs passed", op, "?;?;?");
31 ShapeInferenceTestOp op("DenseToDenseSetOperation");
34 INFER_OK(op, "?;?", "[?,?];[?];[?]");
37 INFER_ERROR("Shape must be at least rank 2 but is rank 1", op, "[?];?");
38 INFER_ERROR("Shape must be at least rank 2 but is rank 1", op, "?;[?]");
39 INFER_ERROR("Shape must be at least rank 2 but is rank 1", op, "[2];?");
40 INFER_ERROR("Shape must be at least rank 2 but is rank 1", op, "
[all...]
H A Dspectral_ops_test.cc24 ShapeInferenceTestOp op(op_name);
25 INFER_OK(op, "?", "in0");
26 INFER_ERROR("Shape must be at least rank 1 but is rank 0", op, "[]");
27 INFER_OK(op, "[?]", "in0");
28 INFER_OK(op, "[1]", "in0");
29 INFER_OK(op, "[1,2,3,4,5,6,7]", "in0");
33 ShapeInferenceTestOp op(op_name);
34 INFER_OK(op, "?", "in0");
35 INFER_ERROR("Shape must be at least rank 2 but is rank 1", op, "[1]");
36 INFER_OK(op, "[
[all...]
H A Dlinalg_ops_test.cc17 #include "tensorflow/core/framework/op.h"
25 ShapeInferenceTestOp op("MatrixDeterminant");
26 INFER_OK(op, "?", "?");
27 INFER_ERROR("Shape must be at least rank 2 but is rank 1", op, "[1]");
28 INFER_ERROR("Dimensions must be equal, but are 2 and 1", op, "[1,?,3,4,1,2]");
30 INFER_OK(op, "[?,?]", "[]");
31 INFER_OK(op, "[1,?]", "[]");
32 INFER_OK(op, "[?,1]", "[]");
35 INFER_OK(op, "[1,?,3,4,?,?]", "[d0_0,d0_1,d0_2,d0_3]");
36 INFER_OK(op, "[
[all...]
H A Dcandidate_sampling_ops_test.cc17 #include "tensorflow/core/framework/op.h"
33 ShapeInferenceTestOp op(op_name);
34 TF_ASSERT_OK(NodeDefBuilder("test", op.name)
38 .Finalize(&op.node_def));
41 INFER_OK(op, "?", "[5];[?,10];[5]");
44 INFER_OK(op, "[?,?]", "[5];[d0_0,10];[5]");
45 INFER_OK(op, "[8,9]", "[5];[d0_0,10];[5]");
48 INFER_ERROR("must be rank 2", op, "[1]");
53 ShapeInferenceTestOp op("ComputeAccidentalHits");
54 TF_ASSERT_OK(NodeDefBuilder("test", op
[all...]
H A Dtraining_ops_test.cc16 #include "tensorflow/core/framework/op.h"
23 static void TestGradAndIndicesErrorHandling(const ShapeInferenceTestOp& op, argument
33 INFER_ERROR("Dimension 1 in both shapes must be equal", op,
36 INFER_ERROR("Dimensions must be equal, but are 1 and 2", op,
39 INFER_ERROR("must be equal rank", op, shape_spec("[1]", "[?,2];[?]"));
41 INFER_ERROR("Shape must be rank 1 but is rank 2", op,
46 ShapeInferenceTestOp op("ApplyGradientDescent");
49 INFER_OK(op, "[1,?];[];[?,2]", "[d0_0,d2_1]");
50 INFER_ERROR("Dimension 0 in both shapes must be equal, but are 1 and 2", op,
54 INFER_ERROR("Shape must be rank 0 but is rank 1", op, "
[all...]
H A Dio_ops_test.cc17 #include "tensorflow/core/framework/op.h"
25 ShapeInferenceTestOp op("Save");
27 TF_ASSERT_OK(NodeDefBuilder("test", op.name)
32 .Finalize(&op.node_def));
33 INFER_OK(op, "?;?;?;?", "");
34 INFER_OK(op, "[];[2];?;?", "");
37 INFER_ERROR("Shape must be rank 0 but is rank 1", op, "[?];?;?;?");
40 INFER_ERROR("Shape must be rank 1 but is rank 2", op, "[];[2,3];?;?");
41 INFER_ERROR("Dimension must be 2 but is 3", op, "[];[3];?;?");
45 ShapeInferenceTestOp op("SaveSlice
[all...]
H A Dnn_ops_test.cc18 #include "tensorflow/core/framework/op.h"
27 ShapeInferenceTestOp op("TopK");
28 auto set_k = [&op](int k) {
32 .Finalize(&op.node_def));
37 INFER_OK(op, "?", "?;?");
39 INFER_OK(op, "[20]", "[20];[20]");
40 INFER_OK(op, "[21]", "[20];[20]");
43 INFER_OK(op, "[1,?,21]", "[d0_0,d0_1,20];[d0_0,d0_1,20]");
45 INFER_OK(op, "[1,?,21,?]", "[d0_0,d0_1,d0_2,20];[d0_0,d0_1,d0_2,20]");
47 INFER_ERROR("Shape must be at least rank 1 but is rank 0", op, "[]");
[all...]
H A Darray_ops_test.cc18 #include "tensorflow/core/framework/op.h"
31 ShapeInferenceTestOp op("Pack");
32 auto set_axis = [&op](int axis) {
41 .Finalize(&op.node_def));
45 INFER_OK(op, "?;?;?", "?");
49 INFER_OK(op, "?;?;?", "?");
50 INFER_OK(op, "[1,3];[1,3];?", "[3,d0_0|d1_0,d0_1|d1_1]");
51 INFER_OK(op, "[?,3];[1,3];?", "[3,d1_0,d0_1|d1_1]");
52 INFER_OK(op, "[?,?];[1,3];?", "[3,d1_0,d1_1]");
56 INFER_OK(op, "
[all...]
H A Dmath_ops_test.cc17 #include "tensorflow/core/framework/op.h"
28 ShapeInferenceTestOp op("AddN");
29 auto set_n = [&op](int n) {
36 .Finalize(&op.node_def));
41 INFER_OK(op, "?;?", "in0|in1");
44 INFER_OK(op, "[1];[?]", "in0");
45 INFER_OK(op, "[1];?", "in0");
46 INFER_OK(op, "[?];[1]", "in1");
47 INFER_OK(op, "?;[1]", "in1");
50 INFER_OK(op, "[
[all...]
H A Dsparse_ops_test.cc17 #include "tensorflow/core/framework/op.h"
26 ShapeInferenceTestOp op("SparseTensorDenseAdd");
29 INFER_OK(op, "?;?;?;?", "in3");
33 ShapeInferenceTestOp op("SparseAdd");
35 INFER_OK(op, "?;?;?;?;?;?;?", "[?,?];[?];[?]");
38 INFER_OK(op, "?;?;[?];?;?;?;?", "[?,d2_0];[?];in2");
39 INFER_OK(op, "?;?;[1];?;?;?;?", "[?,d2_0];[?];in2");
43 ShapeInferenceTestOp op("SparseAddGrad");
46 INFER_ERROR("must be rank 2", op, "?;?;[1];?");
47 INFER_ERROR("must be rank 2", op, "
[all...]
H A Dctc_ops_test.cc17 #include "tensorflow/core/framework/op.h"
25 ShapeInferenceTestOp op("CTCLoss");
30 INFER_ERROR("must be rank 3", op, "[];?;?;?"); // inputs
31 INFER_ERROR("must be rank 2", op, "?;[];?;?"); // labels_indices
32 INFER_ERROR("must be rank 1", op, "?;?;[];?"); // labels_values
33 INFER_ERROR("must be rank 1", op, "?;?;?;[]"); // sequence_length
36 INFER_ERROR("must be equal", op, "?;[1,?];[2];?");
41 INFER_OK(op, "[?,?,?];?;?;[?]", "[d0_1|d3_0];[d0_0,d0_1|d3_0,d0_2]");
42 INFER_OK(op, "[?,1,?];?;?;[1]", "[d0_1|d3_0];[d0_0,d0_1|d3_0,d0_2]");
43 INFER_OK(op, "[
[all...]
H A Drandom_ops_test.cc17 #include "tensorflow/core/framework/op.h"
25 ShapeInferenceTestOp op("Multinomial");
26 op.input_tensors.resize(2);
28 INFER_OK(op, "?;?", "[?,?]");
29 INFER_ERROR("Shape must be rank 2 but is rank 1", op, "[?];?");
30 INFER_OK(op, "[?,?];?", "[d0_0,?]");
31 INFER_OK(op, "[2,?];?", "[d0_0,?]");
32 INFER_OK(op, "[2,1];?", "[d0_0,?]");
34 op.input_tensors[1] = &num_samples;
35 INFER_OK(op, "[
[all...]
H A Dimage_ops_test.cc17 #include "tensorflow/core/framework/op.h"
26 ShapeInferenceTestOp op("SampleDistortedBoundingBox");
27 INFER_OK(op, "?;?", "[3];[3];[1,1,4]");
33 ShapeInferenceTestOp op(op_name);
34 op.input_tensors.resize(2);
39 INFER_ERROR("Shape must be rank 4 but is rank 5", op, "[1,2,3,4,5];?");
40 INFER_ERROR("Shape must be rank 4 but is rank 3", op, "[1,2,3];?");
41 INFER_ERROR("Shape must be rank 1 but is rank 0", op, "?;[]");
42 INFER_ERROR("Dimension must be 2 but is 3", op, "?;[3]");
45 INFER_OK(op, "[
[all...]
/external/tensorflow/tensorflow/contrib/reduce_slice_ops/ops/
H A Dreduce_slice_ops_test.cc22 ShapeInferenceTestOp op("ReduceSliceSum");
23 INFER_OK(op, "?;?;?", "?");
24 INFER_OK(op, "[10,20];[100,2];[]", "[?,?]");
25 INFER_OK(op, "[10,20];[?,2];[]", "[?,?]");
26 INFER_OK(op, "[10,20];[0];[]", "[?,?]");
27 INFER_OK(op, "[10,20];[1];[]", "[?,?]");
28 INFER_OK(op, "[10,20];[?];[]", "[?,?]");
29 INFER_OK(op, "[?,?];[?,2];[]", "[?,?]");
30 INFER_OK(op, "[?,?];[25,2];[]", "[?,?]");
31 INFER_OK(op, "[
[all...]
/external/tensorflow/tensorflow/contrib/tensor_forest/kernels/
H A Dtensor_forest_ops_test.cc18 #include "tensorflow/core/framework/op.h"
28 ShapeInferenceTestOp op("ScatterAddNdim");
29 INFER_OK(op, "?;?;?", "");
H A Dstats_ops_test.cc16 #include "tensorflow/core/framework/op.h"
27 ShapeInferenceTestOp op("CreateFertileStatsVariable");
28 INFER_OK(op, "[1];[1]", "");
32 ShapeInferenceTestOp op("FertileStatsSerialize");
33 INFER_OK(op, "[1]", "[]");
37 ShapeInferenceTestOp op("FertileStatsDeserialize");
38 INFER_OK(op, "[1];[1]", "");
42 ShapeInferenceTestOp op("GrowTreeV4");
43 INFER_OK(op, "[1];[1];?", "");
47 ShapeInferenceTestOp op("ProcessInputV
[all...]
/external/tensorflow/tensorflow/contrib/input_pipeline/ops/
H A Dinput_pipeline_ops_test.cc17 #include "tensorflow/core/framework/op.h"
25 ShapeInferenceTestOp op("ObtainNext");
26 op.input_tensors.resize(3);
27 INFER_ERROR("Wrong number of inputs passed", op, "?;?;?");
31 ShapeInferenceTestOp op("ObtainNext");
32 INFER_OK(op, "[100];[]", "[]");
34 INFER_ERROR("Shape must be rank 1 but is rank 2", op, "[1,1];[]");
35 INFER_ERROR("Shape must be rank 0 but is rank 1", op, "[1000];[1]");
/external/tensorflow/tensorflow/core/grappler/
H A Dop_types.cc19 #include "tensorflow/core/framework/op.h"
29 if (node.op() == "AddV2" || node.op() == "Add") {
36 bool IsAddN(const NodeDef& node) { return node.op() == "AddN"; }
38 bool IsAll(const NodeDef& node) { return node.op() == "All"; }
40 bool IsAngle(const NodeDef& node) { return node.op() == "Angle"; }
42 bool IsAny(const NodeDef& node) { return node.op() == "Any"; }
45 return node.op() == "RealDiv" || node.op() == "Div" ||
46 node.op()
104 const auto& op = node.op(); local
115 const auto& op = node.op(); local
122 const auto& op = node.op(); local
133 const auto& op = node.op(); local
146 const auto& op = node.op(); local
151 const auto& op = node.op(); local
174 const auto& op = node.op(); local
186 const auto& op = node.op(); local
209 const auto& op = node.op(); local
214 const auto& op = node.op(); local
219 const auto& op = node.op(); local
243 const auto& op = node.op(); local
296 const auto& op = node.op(); local
311 const auto& op = node.op(); local
326 const auto& op = node.op(); local
[all...]
/external/tensorflow/tensorflow/compiler/tf2xla/
H A Dxla_gpu_backend.cc24 if (kdef->op() == "RandomStandardNormal" || kdef->op() == "RandomUniform" ||
25 kdef->op() == "RandomUniformInt" || kdef->op() == "TruncatedNormal") {
/external/tensorflow/tensorflow/java/src/main/java/org/tensorflow/op/
H A DOp.java16 package org.tensorflow.op;
/external/tensorflow/tensorflow/contrib/rnn/ops/
H A Dgru_ops_test.cc17 #include "tensorflow/core/framework/op.h"
39 ShapeInferenceTestOp op("GRUBlockCell");
42 INFER_ERROR("must be rank 2", op, "[?];?;?;?;?;?");
43 INFER_ERROR("must be rank 2", op, "?;[?];?;?;?;?");
46 INFER_OK(op, "?;?;?;?;?;?", "[?,?];[?,?];[?,?];[?,?]");
47 INFER_OK(op, "[?,?];[?,?];?;?;?;?",
52 ShapeInferenceTestOp op("GRUBlockCellGrad");
55 INFER_ERROR("must be rank 2", op, "[?];?;?;?;?;?;?;?;?;?");
56 INFER_ERROR("must be rank 2", op, "?;[?];?;?;?;?;?;?;?;?");
57 INFER_ERROR("must be rank 2", op, "
[all...]
/external/python/cpython2/Objects/
H A Dcellobject.c8 PyCellObject *op; local
10 op = (PyCellObject *)PyObject_GC_New(PyCellObject, &PyCell_Type);
11 if (op == NULL)
13 op->ob_ref = obj;
16 _PyObject_GC_TRACK(op);
17 return (PyObject *)op;
21 PyCell_Get(PyObject *op) argument
23 if (!PyCell_Check(op)) {
27 Py_XINCREF(((PyCellObject*)op)->ob_ref);
28 return PyCell_GET(op);
32 PyCell_Set(PyObject *op, PyObject *obj) argument
47 cell_dealloc(PyCellObject *op) argument
73 cell_repr(PyCellObject *op) argument
84 cell_traverse(PyCellObject *op, visitproc visit, void *arg) argument
91 cell_clear(PyCellObject *op) argument
98 cell_get_contents(PyCellObject *op, void *closure) argument
[all...]
/external/v8/src/compiler/
H A Doperator-properties.h20 static bool HasContextInput(const Operator* op);
21 static int GetContextInputCount(const Operator* op) { argument
22 return HasContextInput(op) ? 1 : 0;
25 static bool HasFrameStateInput(const Operator* op);
26 static int GetFrameStateInputCount(const Operator* op) { argument
27 return HasFrameStateInput(op) ? 1 : 0;
30 static int GetTotalInputCount(const Operator* op);
32 static bool IsBasicBlockBegin(const Operator* op);

Completed in 397 milliseconds

1234567891011>>