/external/tensorflow/tensorflow/core/ops/ |
D | training_ops_test.cc | 33 INFER_ERROR("Dimension 1 in both shapes must be equal", op, in TestGradAndIndicesErrorHandling() 36 INFER_ERROR("Dimensions must be equal, but are 1 and 2", op, in TestGradAndIndicesErrorHandling() 39 INFER_ERROR("must be equal rank", op, shape_spec("[1]", "[?,2];[?]")); in TestGradAndIndicesErrorHandling() 41 INFER_ERROR("Shape must be rank 1 but is rank 2", op, in TestGradAndIndicesErrorHandling() 50 INFER_ERROR("Dimension 0 in both shapes must be equal, but are 1 and 2", op, in TEST() 54 INFER_ERROR("Shape must be rank 0 but is rank 1", op, "?;[?];?"); in TEST() 62 INFER_ERROR("Dimension 0 in both shapes must be equal, but are 1 and 2", op, in TEST() 66 INFER_ERROR("Shape must be rank 0 but is rank 1", op, "?;[?];?;?;?"); in TEST() 67 INFER_ERROR("Shape must be rank 0 but is rank 1", op, "?;?;[?];?;?"); in TEST() 68 INFER_ERROR("Shape must be rank 0 but is rank 1", op, "?;?;?;[?];?"); in TEST() [all …]
|
D | nn_ops_test.cc | 47 INFER_ERROR("Shape must be at least rank 1 but is rank 0", op, "[]"); in TEST() 48 INFER_ERROR("input must have last dimension >= k = 20 but is 1", op, "[1]"); in TEST() 49 INFER_ERROR("input must have last dimension >= k = 20 but is 4", op, in TEST() 52 INFER_ERROR("Need k >= 0, got -1", op, "[1,2,3,4]"); in TEST() 73 INFER_ERROR("Shape must be at least rank 1 but is rank 0", op, "[];[]"); in TEST() 74 INFER_ERROR("input must have last dimension >= k = 20 but is 1", op, in TEST() 76 INFER_ERROR("input must have last dimension >= k = 20 but is 4", op, in TEST() 79 INFER_ERROR( in TEST() 97 INFER_ERROR("Shape must be at least rank 1 but is rank 0", op, "[];[]"); in TEST() 98 INFER_ERROR("Input must have last dimension > n = 20 but is 1", op, "[1];[]"); in TEST() [all …]
|
D | sparse_ops_test.cc | 46 INFER_ERROR("must be rank 2", op, "?;?;[1];?"); in TEST() 47 INFER_ERROR("must be rank 2", op, "?;[1];?;?"); in TEST() 59 INFER_ERROR("must be rank 2", op, "?;[1];?;?"); in TEST() 73 INFER_ERROR("must be rank 2", op, "[1];?;?"); in TEST() 74 INFER_ERROR("must be rank 1", op, "?;[];?"); in TEST() 75 INFER_ERROR("must be rank 1", op, "?;?;[]"); in TEST() 90 INFER_ERROR("must be rank 2", op, "[1];?;?"); in TEST() 91 INFER_ERROR("must be rank 1", op, "?;[];?"); in TEST() 92 INFER_ERROR("must be rank 1", op, "?;?;[]"); in TEST() 152 INFER_ERROR("must be rank 2", op, "[1];?;?"); in TEST() [all …]
|
D | io_ops_test.cc | 37 INFER_ERROR("Shape must be rank 0 but is rank 1", op, "[?];?;?;?"); in TEST() 40 INFER_ERROR("Shape must be rank 1 but is rank 2", op, "[];[2,3];?;?"); in TEST() 41 INFER_ERROR("Dimension must be 2 but is 3", op, "[];[3];?;?"); in TEST() 59 INFER_ERROR("Shape must be rank 0 but is rank 1", op, "[?];?;?;?;?"); in TEST() 62 INFER_ERROR("Shape must be rank 1 but is rank 2", op, "[];[2,3];?;?;?"); in TEST() 63 INFER_ERROR("Dimension must be 2 but is 3", op, "[];[3];?;?;?"); in TEST() 67 INFER_ERROR("Shape must be rank 1 but is rank 2", op, "[];[2];[2,3];?;?"); in TEST() 68 INFER_ERROR("Dimension must be 2 but is 3", op, "[];[2];[3];?;?"); in TEST() 78 INFER_ERROR("Shape must be rank 0 but is rank 1", op, "[?];[]"); in TEST() 79 INFER_ERROR("Shape must be rank 0 but is rank 1", op, "[];[?]"); in TEST() [all …]
|
D | image_ops_test.cc | 40 INFER_ERROR("Shape must be rank 4 but is rank 5", op, "[1,2,3,4,5];?"); in TEST() 41 INFER_ERROR("Shape must be rank 4 but is rank 3", op, "[1,2,3];?"); in TEST() 42 INFER_ERROR("Shape must be rank 1 but is rank 0", op, "?;[]"); in TEST() 43 INFER_ERROR("Dimension must be 2 but is 3", op, "?;[3]"); in TEST() 58 INFER_ERROR("Shape must be rank 0 but is rank 1", op, "[1]"); in TEST() 69 INFER_ERROR("Shape must be rank 0 but is rank 1", op, "[1]"); in TEST() 90 INFER_ERROR("channels must be non-negative, got -1", op, "[]"); in TEST() 98 INFER_ERROR("Shape must be rank 0 but is rank 1", op, "[1]"); in TEST() 118 INFER_ERROR("channels must be non-negative, got -1", op, "[]"); in TEST() 127 INFER_ERROR("Wrong number of inputs passed: 1 while 2 expected", op, "[1]"); in TEST() [all …]
|
D | math_ops_test.cc | 67 INFER_ERROR("Dimension 1 in both shapes must be equal, but are 2 and 4", op, in TEST() 69 INFER_ERROR("From merging shape 0 with other shapes.", op, "[1,2];?;[1,4]"); in TEST() 71 INFER_ERROR("Shapes must be equal rank, but are 2 and 3", op, in TEST() 73 INFER_ERROR("From merging shape 1 with other shapes.", op, in TEST() 107 INFER_ERROR("Shape must be rank 1 but is rank 2", op, "?;[1,2]"); in TEST() 108 INFER_ERROR("Shape must be at least rank 1 but is rank 0", op, "[];[1]"); in TEST() 157 INFER_ERROR("Dimensions must be equal", op, "[2];[3]"); in TEST() 206 INFER_ERROR("Shapes must be equal rank, but are 0 and 1", op, "[1];[];?"); in TEST() 207 INFER_ERROR("Shapes must be equal rank, but are 1 and 2", op, "[];[1];[1,2]"); in TEST() 208 INFER_ERROR("Shapes must be equal rank, but are 1 and 2", op, "[1,2];[1];?"); in TEST() [all …]
|
D | array_ops_test.cc | 37 INFER_ERROR("Shape must be at least rank 1 but is rank 0", op, in TEST() 39 INFER_ERROR("Indices and updates specified for empty input", op, in TEST() 41 INFER_ERROR( in TEST() 45 INFER_ERROR( in TEST() 56 INFER_ERROR("Shape must be rank 1 but is rank 0", op, "[?,2];[?];[]"); in TEST() 57 INFER_ERROR( in TEST() 75 INFER_ERROR("Shape must be rank 1 but is rank 2", op, "?;[1,1]"); in TEST() 118 INFER_ERROR("Invalid axis: -4; must be in [-3,3)", op, "[1,3];[1,3];?"); in TEST() 120 INFER_ERROR("Invalid axis: 3; must be in [-3,3)", op, "[1,3];[1,3];?"); in TEST() 125 INFER_ERROR("Shapes must be equal rank, but are 3 and 2", op, in TEST() [all …]
|
D | linalg_ops_test.cc | 27 INFER_ERROR("Shape must be at least rank 2 but is rank 1", op, "[1]"); in TEST() 28 INFER_ERROR("Dimensions must be equal, but are 2 and 1", op, "[1,?,3,4,1,2]"); in TEST() 47 INFER_ERROR("Shape must be at least rank 2 but is rank 1", op, in TEST() 49 INFER_ERROR("Dimensions must be equal, but are 1 and 2", op, in TEST() 67 INFER_ERROR("Shape must be at least rank 2 but is rank 1", op, "[1]"); in TEST() 68 INFER_ERROR("Dimensions must be equal, but are 1 and 2", op, "[1,2]"); in TEST() 96 INFER_ERROR("Shape must be at least rank 2 but is rank 1", op, "[1]"); in TEST() 97 INFER_ERROR("Dimensions must be equal, but are 1 and 2", op, "[1,2]"); in TEST() 98 INFER_ERROR("Dimensions must be equal, but are 1 and 2", op, "[3,1,2]"); in TEST() 128 INFER_ERROR("Shape must be at least rank 2 but is rank 1", op, "[1];?"); in TEST() [all …]
|
D | set_ops_test.cc | 27 INFER_ERROR("Wrong number of inputs passed", op, "?;?;?"); in TEST() 37 INFER_ERROR("Shape must be at least rank 2 but is rank 1", op, "[?];?"); in TEST() 38 INFER_ERROR("Shape must be at least rank 2 but is rank 1", op, "?;[?]"); in TEST() 39 INFER_ERROR("Shape must be at least rank 2 but is rank 1", op, "[2];?"); in TEST() 40 INFER_ERROR("Shape must be at least rank 2 but is rank 1", op, "?;[2]"); in TEST() 43 INFER_ERROR("Shape must be rank 2 but is rank 3", op, "[?,?];[?,?,?]"); in TEST() 44 INFER_ERROR("Shape must be rank 3 but is rank 2", op, "[?,?,?];[?,?]"); in TEST() 45 INFER_ERROR("Shape must be rank 2 but is rank 3", op, "[2,1];[2,1,2]"); in TEST() 46 INFER_ERROR("Shape must be rank 3 but is rank 2", op, "[2,1,2];[2,1]"); in TEST() 66 INFER_ERROR("Dimension 0 in both shapes must be equal", op, in TEST() [all …]
|
D | rnn_ops_test.cc | 38 INFER_ERROR("must be rank 2", op, "[?];?;?;?;?;?"); in TEST() 39 INFER_ERROR("must be rank 2", op, "?;[?];?;?;?;?"); in TEST() 51 INFER_ERROR("must be rank 2", op, "[?];?;?;?;?;?;?;?;?;?"); in TEST() 52 INFER_ERROR("must be rank 2", op, "?;[?];?;?;?;?;?;?;?;?"); in TEST() 53 INFER_ERROR("must be rank 2", op, "?;?;[?];?;?;?;?;?;?;?"); in TEST() 68 INFER_ERROR("must be rank 2", op, "[?];?" + input_suffix); in TEST() 69 INFER_ERROR("must be rank 2", op, "?;[?]" + input_suffix); in TEST() 83 INFER_ERROR("must be rank 2", op, "[?];?" + input_suffix); in TEST() 84 INFER_ERROR("must be rank 2", op, "?;[?]" + input_suffix); in TEST() 113 INFER_ERROR("must be rank 3", op, "?;[?]" + infix + "?"); in TEST() [all …]
|
D | ctc_ops_test.cc | 30 INFER_ERROR("must be rank 3", op, "[];?;?;?"); // inputs in TEST() 31 INFER_ERROR("must be rank 2", op, "?;[];?;?"); // labels_indices in TEST() 32 INFER_ERROR("must be rank 1", op, "?;?;[];?"); // labels_values in TEST() 33 INFER_ERROR("must be rank 1", op, "?;?;?;[]"); // sequence_length in TEST() 36 INFER_ERROR("must be equal", op, "?;[1,?];[2];?"); in TEST() 45 INFER_ERROR("must be equal", op, "[?,1,?];?;?;[2]"); in TEST() 54 INFER_ERROR("must be rank 3", op, "[];?"); // inputs in TEST() 55 INFER_ERROR("must be rank 1", op, "?;[]"); // sequence_length in TEST() 63 INFER_ERROR("must be equal", op, "[?,1,?];[2]"); in TEST() 80 INFER_ERROR("must be rank 3", op, "[];?"); // inputs in TEST() [all …]
|
D | sparse_csr_matrix_ops_test.cc | 33 INFER_ERROR("Expected a known rank", op, "?;?;?"); in TEST() 34 INFER_ERROR("either 2 or 3", op, "[?,4];?;?"); in TEST() 39 INFER_ERROR("Shape must be rank 3 but is rank 2 for", op, "[?,3];?;?"); in TEST() 62 INFER_ERROR("Expected a known rank", op, "?;?"); in TEST() 63 INFER_ERROR("either 2 or 3", op, "[?];?"); in TEST() 66 INFER_ERROR("indices.shape[1] must match rank of dense; saw: 2 vs. 3", op, in TEST() 99 INFER_ERROR("index must be a scalar", op, "[];?"); in TEST() 124 INFER_ERROR("a has an unknown rank", op, "[];?"); in TEST() 126 INFER_ERROR("must be at least rank 2 but is rank 1", op, "[];?"); in TEST() 138 INFER_ERROR("must be equal, but are 5 and 6 for", op, "[];[?,6,?]"); in TEST() [all …]
|
D | parsing_ops_test.cc | 59 INFER_ERROR("must be at most rank 1 but is rank 2", op, "?;?;[1,2]"); in TEST() 60 INFER_ERROR("must be at most rank 1 but is rank 2", op, "?;[3,4];?"); in TEST() 61 INFER_ERROR("Shape of a default must be", op, "?;?;[2]"); in TEST() 62 INFER_ERROR("Shape of a default must be", op, "?;[2];?"); in TEST() 113 INFER_ERROR("must be rank 1", op, "[1,2];?"); in TEST() 114 INFER_ERROR("must be rank 1", op, "?;[2,3]"); in TEST() 127 INFER_ERROR("len(dense_keys) != len(dense_shapes)", op, in TEST() 143 INFER_ERROR("len(dense_keys) != len(dense_shapes)", op, in TEST() 148 INFER_ERROR("shapes[0] has unknown rank or unknown inner dimensions", op, in TEST() 200 INFER_ERROR("must be rank 1", op, "[];[?]"); in TEST() [all …]
|
D | data_flow_ops_test.cc | 33 INFER_ERROR("Shape must be at most rank 1 but is rank 2", op, in TEST() 43 INFER_ERROR("Shape must be rank 1 but is rank 0", op, "[];[1,2,3];[]"); in TEST() 54 INFER_ERROR("Shape must be rank 1 but is rank 0", op, "[]"); in TEST() 55 INFER_ERROR("Dimension must be 2 but is 3", op, "[3]"); in TEST() 65 INFER_ERROR("Shape must be rank 1 but is rank 0", op, "[]"); in TEST() 74 INFER_ERROR("Shape must be rank 1 but is rank 0", op, "[];[];[]"); in TEST() 77 INFER_ERROR("Dimension 0 in both shapes must be equal, but are 1 and 2", op, in TEST() 79 INFER_ERROR("Shape must be rank 1 but is rank 2", op, "[2];[1,2];[1,2]"); in TEST() 88 INFER_ERROR("Shape must be rank 1 but is rank 0", op, "[];[]"); in TEST() 89 INFER_ERROR("Shape must be rank 0 but is rank 1", op, "[2];[1]"); in TEST() [all …]
|
D | spectral_ops_test.cc | 26 INFER_ERROR("Shape must be at least rank 1 but is rank 0", op, "[]"); in TEST() 35 INFER_ERROR("Shape must be at least rank 2 but is rank 1", op, "[1]"); in TEST() 44 INFER_ERROR("Shape must be at least rank 3 but is rank 2", op, "[1,2]"); in TEST() 69 INFER_ERROR("Shape must be at least rank 1 but is rank 0", op, "[];?"); in TEST() 70 INFER_ERROR("Shape must be rank 1 but is rank 2", op, "[1];[1,1]"); in TEST() 71 INFER_ERROR("Dimension must be 1 but is 2", op, "[1];[2]"); in TEST() 129 INFER_ERROR("Shape must be at least rank 2 but is rank 0", op, "[];?"); in TEST() 130 INFER_ERROR("Shape must be rank 1 but is rank 2", op, "[1,1];[1,1]"); in TEST() 131 INFER_ERROR("Dimension must be 2 but is 3", op, "[1,1];[3]"); in TEST() 189 INFER_ERROR("Shape must be at least rank 3 but is rank 0", op, "[];?"); in TEST() [all …]
|
D | lookup_ops_test.cc | 27 INFER_ERROR("Shape must be rank 0 but is rank 1", op, "[?];?;?"); in TEST() 47 INFER_ERROR("read value with wrong dtype", op, "[];[?,3];[4]"); in TEST() 50 INFER_ERROR("read value with wrong dtype", op, "[];[?,3];[4]"); in TEST() 75 INFER_ERROR("read value with wrong dtype", op, "[]"); in TEST() 78 INFER_ERROR("read value with wrong dtype", op, "[]"); in TEST()
|
D | random_ops_test.cc | 29 INFER_ERROR("Shape must be rank 2 but is rank 1", op, "[?];?"); in TEST() 37 INFER_ERROR("Shape must be rank 0 but is rank 1", op, "[2,1];[3]"); in TEST() 47 INFER_ERROR("Shape must be rank 1 but is rank 2", op, "[1,2];[3,4]"); in TEST() 62 INFER_ERROR("Shape must be rank 1 but is rank 2", op, "[1,2];[3,4]"); in TEST()
|
D | control_flow_ops_test.cc | 63 INFER_ERROR("Shape must be rank 0 but is rank 1", op, "?;[2]"); in TEST() 64 INFER_ERROR("Shape must be rank 0 but is rank 1", op, "?;[1]"); in TEST() 65 INFER_ERROR("Shape must be rank 0 but is rank 1", op, "?;[?]"); in TEST() 87 INFER_ERROR("Shape must be rank 0 but is rank 1", op, "[2];?;?;?"); in TEST()
|
D | candidate_sampling_ops_test.cc | 48 INFER_ERROR("must be rank 2", op, "[1]"); in TEST() 68 INFER_ERROR("must be rank 2", op, "[1];?"); in TEST() 69 INFER_ERROR("must be 10", op, "[?,11];?"); in TEST()
|
D | state_ops_test.cc | 38 INFER_ERROR("Dimension 0 in both shapes must be equal, but are 1 and 3", op, in TEST() 69 INFER_ERROR("Shapes must be equal rank, but are 1 and 0", op, "[2];[];[2]"); in TEST() 86 INFER_ERROR("Shape must be at least rank 1 but is rank 0", op, in TEST() 88 INFER_ERROR( in TEST()
|
/external/tensorflow/tensorflow/core/framework/ |
D | common_shape_fns_test.cc | 284 INFER_ERROR("got: 2", op, "[?,?];[?,?]"); in TEST() 286 INFER_ERROR("got: 1", op, "[?,?]"); in TEST() 290 INFER_ERROR("equation", op, "[2]"); in TEST() 292 INFER_ERROR("equation", op, "[2,2];[2,2]"); in TEST() 296 INFER_ERROR("ellipsis", op, "[1,1,2,1]"); in TEST() 298 INFER_ERROR("ellipsis", op, "[1,1,1,2]"); in TEST() 300 INFER_ERROR("ellipsis", op, "[1,1,1,2]"); in TEST() 302 INFER_ERROR("ellipsis", op, "[1,1,2,1]"); in TEST() 304 INFER_ERROR("ellipsis", op, "[1,2,1];[2,1]"); in TEST() 306 INFER_ERROR("ellipsis", op, "[2];[1,2,1,1]"); in TEST() [all …]
|
/external/tensorflow/tensorflow/core/kernels/ |
D | ragged_tensor_to_variant_op_test.cc | 345 INFER_ERROR( in TEST_F() 358 INFER_ERROR("Shape must be rank 1 but is rank 0", op, "[];?"); in TEST_F() 359 INFER_ERROR("Shape must be rank 1 but is rank 2", op, "[5,5];?"); in TEST_F() 360 INFER_ERROR("Shape must be at least rank 1 but is rank 0", op, "?;[]"); in TEST_F() 370 INFER_ERROR("Shape must be rank 1 but is rank 2", op, "?;[5,5];?"); in TEST_F() 395 INFER_ERROR("Shape must be rank 1 but is rank 0", op, "[];?"); in TEST_F() 396 INFER_ERROR("Shape must be rank 1 but is rank 2", op, "[5,5];?"); in TEST_F() 397 INFER_ERROR("Shape must be at least rank 1 but is rank 0", op, "?;[]"); in TEST_F() 406 INFER_ERROR("Shape must be rank 1 but is rank 2", op, "?;[5,5];?"); in TEST_F()
|
D | ragged_tensor_to_sparse_kernel_test.cc | 147 INFER_ERROR("Requires RAGGED_RANK>0", op, "?"); in TEST_F() 156 INFER_ERROR("Shape must be rank 1 but is rank 0", op, "[];?"); in TEST_F() 157 INFER_ERROR("Shape must be rank 1 but is rank 2", op, "[5,5];?"); in TEST_F() 158 INFER_ERROR("Shape must be at least rank 1 but is rank 0", op, "?;[]"); in TEST_F() 167 INFER_ERROR("Shape must be rank 1 but is rank 2", op, "?;[5,5];?"); in TEST_F()
|
D | decode_wav_op_test.cc | 89 INFER_ERROR("Shape must be rank 0 but is rank 1", op, "[1]"); in TEST() 108 INFER_ERROR("samples must be non-negative, got -2", op, "[]"); in TEST() 121 INFER_ERROR("channels must be non-negative, got -2", op, "[]"); in TEST()
|
D | fingerprint_op_test.cc | 217 INFER_ERROR("must be at least rank 1", op, "[];?"); in TEST() 228 INFER_ERROR("must be at least rank 1", op, "[];?"); in TEST() 238 INFER_ERROR("must be rank 0", op, "[1];[1]"); in TEST() 244 INFER_ERROR("must be rank 0", op, "?;?"); in TEST() 249 INFER_ERROR("unsupported_method", op, "?;?"); in TEST()
|