HomeSort by relevance Sort by last modified time
    Searched refs:verify_shape (Results 1 - 4 of 4) sorted by null

  /external/tensorflow/tensorflow/python/framework/
constant_op.py 135 def constant(value, dtype=None, shape=None, name="Const", verify_shape=False):
175 verify_shape: Boolean that enables verification of a shape of values.
191 if verify_shape:
214 value, dtype=dtype, shape=shape, verify_shape=verify_shape))
tensor_util.py 348 def make_tensor_proto(values, dtype=None, shape=None, verify_shape=False):
355 verify_shape: Boolean that enables verification of a shape of values.
368 ValueError: if arguments have inappropriate values or if verify_shape is
480 if verify_shape:
    [all...]
tensor_util_test.py 714 tensor_util.make_tensor_proto(array, shape=correct_shape, verify_shape=True)
717 array, shape=incorrect_shape, verify_shape=True)
    [all...]
  /external/tensorflow/tensorflow/python/ops/
init_ops.py 144 verify_shape: Boolean that enables verification of the shape of `value`. If
193 >>> init_verify = tf.constant_initializer(value, verify_shape=True)
201 def __init__(self, value=0, dtype=dtypes.float32, verify_shape=False):
209 self._verify_shape = verify_shape
211 def __call__(self, shape, dtype=None, partition_info=None, verify_shape=None):
214 if verify_shape is None:
215 verify_shape = self._verify_shape
217 self.value, dtype=dtype, shape=shape, verify_shape=verify_shape)
220 # We don't include `verify_shape` for compatibility with Keras
    [all...]

Completed in 108 milliseconds