Home
last modified time | relevance | path

Searched refs:expected_dim (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/core/framework/
Dshape_inference_testutil.cc156 StringPiece expected_dim(expected_dims[j]); in InferShapes() local
169 if (expected_dim == "?") { in InferShapes()
181 } else if (str_util::StartsWith(expected_dim, "d")) { in InferShapes()
183 auto v = str_util::Split(expected_dim, '|'); in InferShapes()
196 ", but should have matched one of (", expected_dim, in InferShapes()
204 if (!strings::safe_strto64(expected_dim, &value)) { in InferShapes()
206 expected_dim, "' failed to parse as int64", in InferShapes()
/external/tensorflow/tensorflow/python/keras/
Dtesting_utils.py143 for expected_dim, actual_dim in zip(expected_output_shape,
145 if expected_dim is not None:
146 if expected_dim != actual_dim:
191 for expected_dim, actual_dim in zip(expected_output_shape,
193 if expected_dim is not None:
194 if expected_dim != actual_dim:
/external/tensorflow/tensorflow/python/framework/
Dcommon_shapes_test.py153 for expected_dim, actual_dim in zip(expected_dims, actual_dims):
154 self.assertEqual(expected_dim.value, actual_dim.value)