/external/tensorflow/tensorflow/go/op/ |
H A D | generate.go | 20 package op
|
/external/clang/test/CodeGen/ |
H A D | 2006-03-17-KnRMismatch.c | 3 void regnode(int op); 5 void regnode(op) 6 char op;
|
/external/tensorflow/tensorflow/core/ops/ |
H A D | set_ops_test.cc | 17 #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 D | spectral_ops_test.cc | 24 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 D | linalg_ops_test.cc | 17 #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 D | candidate_sampling_ops_test.cc | 17 #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 D | training_ops_test.cc | 16 #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 D | io_ops_test.cc | 17 #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 D | nn_ops_test.cc | 18 #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 D | array_ops_test.cc | 18 #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 D | math_ops_test.cc | 17 #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 D | sparse_ops_test.cc | 17 #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 D | ctc_ops_test.cc | 17 #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 D | random_ops_test.cc | 17 #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 D | image_ops_test.cc | 17 #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 D | reduce_slice_ops_test.cc | 22 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 D | tensor_forest_ops_test.cc | 18 #include "tensorflow/core/framework/op.h" 28 ShapeInferenceTestOp op("ScatterAddNdim"); 29 INFER_OK(op, "?;?;?", "");
|
H A D | stats_ops_test.cc | 16 #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 D | input_pipeline_ops_test.cc | 17 #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 D | op_types.cc | 19 #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 D | xla_gpu_backend.cc | 24 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 D | Op.java | 16 package org.tensorflow.op;
|
/external/tensorflow/tensorflow/contrib/rnn/ops/ |
H A D | gru_ops_test.cc | 17 #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 D | cellobject.c | 8 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 D | operator-properties.h | 20 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);
|