Home
last modified time | relevance | path

Searched refs:unknown_shape (Results 1 – 25 of 38) sorted by relevance

12

/external/tensorflow/tensorflow/python/kernel_tests/
Dvariable_ops_test.py72 self.assertEqual(tensor_shape.unknown_shape(), p.get_shape())
94 self.assertEqual(tensor_shape.unknown_shape(), var.get_shape())
102 self.assertEqual(tensor_shape.unknown_shape(), var.get_shape())
108 self.assertEqual(tensor_shape.unknown_shape(), tensor.get_shape())
127 self.assertEqual(tensor_shape.unknown_shape(), assigned.get_shape())
134 self.assertEqual(tensor_shape.unknown_shape(), var.get_shape())
135 self.assertEqual(tensor_shape.unknown_shape(),
143 self.assertEqual(tensor_shape.unknown_shape(), var.get_shape())
145 tensor_shape.unknown_shape(),
177 self.assertEqual(tensor_shape.unknown_shape(), added.get_shape())
[all …]
Dstack_ops_test.py96 c1, b1, [r, v], [r.get_shape(), tensor_shape.unknown_shape()])
248 c1, b1, [r, v], [r.get_shape(), tensor_shape.unknown_shape()])
Dcontrol_flow_ops_py_test.py1632 tensor_shape.unknown_shape(),
1633 tensor_shape.unknown_shape()
1723 [i.get_shape(), tensor_shape.unknown_shape()])
2494 [r.get_shape(), tensor_shape.unknown_shape()],
2562 [n.get_shape(), tensor_shape.unknown_shape()],
2887 [tensor_shape.unknown_shape()])
2922 [tensor_shape.unknown_shape()])
2926 [tensor_shape.unknown_shape()])
4127 [tensor_shape.unknown_shape(), tensor_shape.unknown_shape()])
4142 [tensor_shape.unknown_shape(),
[all …]
Dtensor_array_ops_test.py946 shape_invariants=(time_0.get_shape(), tensor_shape.unknown_shape(),
947 tensor_shape.unknown_shape()),
1283 self.assertAllEqual(r0.get_shape(), tensor_shape.unknown_shape())
1629 self.assertEqual(tensor_shape.unknown_shape(), read0.get_shape())
Dreduction_ops_test.py309 self.assertEqual(tensor_shape.unknown_shape(), s_unknown.get_shape())
316 c_known_rank.set_shape(tensor_shape.unknown_shape(rank=3))
329 self.assertEqual(tensor_shape.unknown_shape(),
/external/tensorflow/tensorflow/python/data/util/
Dsparse_test.py97 "expected": tensor_shape.unknown_shape()
107 "expected": (tensor_shape.unknown_shape())
122 "expected": (tensor_shape.unknown_shape(), ())
127 "expected": ((), tensor_shape.unknown_shape())
138 "expected": (tensor_shape.unknown_shape(), (),
139 tensor_shape.unknown_shape())
149 "expected": ((), tensor_shape.unknown_shape(), ())
Dsparse.py53 tensor_shape.unknown_shape() if c is sparse_tensor.SparseTensor else shape
Dstructure.py514 return [tensor_shape.unknown_shape(None)]
/external/tensorflow/tensorflow/python/framework/
Dtensor_shape_test.py386 self.assertEqual("<unknown>", str(tensor_shape.unknown_shape()))
389 str(tensor_shape.unknown_shape(rank=1)).replace("?", "None"))
392 str(tensor_shape.unknown_shape(rank=2)).replace("?", "None"))
395 str(tensor_shape.unknown_shape(rank=3)).replace("?", "None"))
405 self.assertTrue(tensor_shape.unknown_shape().as_proto().unknown_rank)
407 tensor_shape.unknown_shape(rank=3).as_proto().unknown_rank)
434 unk0 = tensor_shape.unknown_shape()
441 unk1 = tensor_shape.unknown_shape()
452 tensor_shape.unknown_shape().as_list()
453 self.assertAllEqual([None, None], tensor_shape.unknown_shape(2).as_list())
Dtensor_shape.py851 return unknown_shape()
855 return unknown_shape()
857 return unknown_shape(rank=stop - start)
922 return unknown_shape()
970 return self.merge_with(unknown_shape(rank=rank))
1096 return unknown_shape()
1177 def unknown_shape(rank=None, **kwargs): function
Dcommon_shapes_test.py69 unknown = tensor_shape.unknown_shape()
92 unknown = tensor_shape.unknown_shape()
157 unknown = tensor_shape.unknown_shape()
Dcommon_shapes.py509 def unknown_shape(op): function
511 return [tensor_shape.unknown_shape() for _ in op.outputs]
592 return tensor_shape.unknown_shape()
709 return unknown_shape(op)
Dops.py427 shape_vector, unknown_shape = c_api.TF_GraphGetTensorShapeHelper(
429 if unknown_shape:
430 return tensor_shape.unknown_shape()
531 unknown_shape = True
533 unknown_shape = False
544 unknown_shape)
Dtensor_util.py856 return tensor_shape.unknown_shape()
932 ret = tensor_shape.unknown_shape(shape.dims[0].value)
/external/tensorflow/tensorflow/core/ops/
Dmath_ops_test.cc227 TensorShapeProto unknown_shape; in TEST() local
228 unknown_shape.set_unknown_rank(true); in TEST()
232 new ShapeDtypeV{{scalar, DT_FLOAT}, {unknown_shape, DT_INT32}}); in TEST()
235 new ShapeDtypeV{{i1, DT_FLOAT}, {unknown_shape, DT_INT32}}); in TEST()
/external/tensorflow/tensorflow/python/client/
Dtf_session_helper.h142 TF_Graph* graph, TF_Output output, TF_Status* status, bool* unknown_shape);
235 bool unknown_shape, TF_Status* status);
Dtf_session_helper.cc495 bool* unknown_shape) { in TF_GraphGetTensorShapeHelper() argument
498 *unknown_shape = false; in TF_GraphGetTensorShapeHelper()
505 *unknown_shape = true; in TF_GraphGetTensorShapeHelper()
648 bool unknown_shape, TF_Status* status) { in TF_GraphSetTensorShape_wrapper() argument
649 if (unknown_shape) { in TF_GraphSetTensorShape_wrapper()
Dtf_session.i643 %typemap(in, numinputs=0) bool* unknown_shape (bool temp) {
648 %typemap(argout) bool* unknown_shape {
Dsession_partial_run_test.py39 ops.RegisterShape('ConstructionFails')(common_shapes.unknown_shape)
/external/tensorflow/tensorflow/python/saved_model/
Dutils_impl.py111 tensor_shape=tensor_shape.unknown_shape().as_proto(),
/external/tensorflow/tensorflow/python/ops/
Ddata_flow_ops.py107 return tensor_shape.unknown_shape()
166 self._shapes = [tensor_shape.unknown_shape() for _ in self._dtypes]
987 self._shapes = [tensor_shape.unknown_shape() for _ in self._types]
1185 self._shape = tensor_shape.unknown_shape()
1517 self._shapes = [tensor_shape.unknown_shape() for _ in self._dtypes]
Dstate_ops.py45 shape = tensor_shape.unknown_shape()
Dembedding_ops.py821 final_result.set_shape(tensor_shape.unknown_shape(
Dvariables.py1553 if validate_shape else tensor_shape.unknown_shape())
1573 if validate_shape else tensor_shape.unknown_shape())
/external/tensorflow/tensorflow/compiler/tests/
Dtensor_array_ops_test.py884 self.assertAllEqual(r0.get_shape(), tensor_shape.unknown_shape())
896 self.assertAllEqual(r0.get_shape(), tensor_shape.unknown_shape())
1058 self.assertEqual(tensor_shape.unknown_shape(), read0.get_shape())

12