/external/libchrome/mojo/public/tools/bindings/pylib/mojom/generate/ |
D | module.py | 20 def Repr(obj, as_ref=True): argument 36 return obj.Repr(as_ref=as_ref) 43 return ('[\n%s\n]' % (',\n'.join(' %s' % Repr(elem, as_ref).replace( 50 Repr(key, as_ref).replace('\n', '\n '), 51 Repr(val, as_ref).replace('\n', '\n ')) 69 def ReprIndent(name, as_ref): argument 70 return ' %s=%s' % (name, Repr(getattr(obj, name), as_ref).replace( 75 ',\n'.join(ReprIndent(name, as_ref) 76 for (name, as_ref) in names.iteritems())) 93 def Repr(self, as_ref=True): argument [all …]
|
/external/tensorflow/tensorflow/python/framework/ |
D | constant_op.py | 302 as_ref=False): argument 303 _ = as_ref 320 as_ref=False): argument 322 _ = as_ref 353 as_ref=False): argument 355 _ = as_ref
|
D | ops.py | 979 def _TensorTensorConversionFunction(t, dtype=None, name=None, as_ref=False): argument 980 _ = name, as_ref 1108 as_ref=False) 1118 as_ref=False, argument 1171 value, dtype=preferred_dtype, name=name, as_ref=as_ref) 1186 ret = conversion_func(value, dtype=dtype, name=name, as_ref=as_ref) 1210 as_ref=False, argument 1249 as_ref=as_ref, 1284 as_ref=False) 1309 value=value, dtype=dtype, name=name, as_ref=False) [all …]
|
D | op_def_library.py | 471 as_ref=input_arg.is_ref) 481 value, as_ref=input_arg.is_ref) 526 as_ref=input_arg.is_ref, 541 values, as_ref=input_arg.is_ref).dtype.name
|
/external/tensorflow/tensorflow/contrib/tpu/python/tpu/ |
D | keras_tpu_variables.py | 229 def _dense_var_to_tensor(self, dtype=None, name=None, as_ref=False): argument 233 return self._primary_var._dense_var_to_tensor(dtype, name, as_ref) 237 if as_ref: 245 def _tensor_conversion(var, dtype=None, name=None, as_ref=False): argument 246 …return var._dense_var_to_tensor(dtype=dtype, name=name, as_ref=as_ref) # pylint: disable=protecte…
|
/external/tensorflow/tensorflow/python/keras/mixed_precision/experimental/ |
D | autocast_variable.py | 134 def _dense_var_to_tensor(self, dtype=None, name=None, as_ref=False): argument 138 as_ref) 140 assert not as_ref 147 as_ref=False)
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | tensor_priority_test.py | 73 def raise_to_delegate(value, dtype=None, name=None, as_ref=False): argument 74 del value, dtype, name, as_ref # Unused.
|
/external/tensorflow/tensorflow/python/distribute/ |
D | values.py | 743 def _tensor_conversion_mirrored(var, dtype=None, name=None, as_ref=False): argument 746 assert not as_ref 748 var.get(), dtype=dtype, name=name, as_ref=as_ref) 1146 def _dense_var_to_tensor(self, dtype=None, name=None, as_ref=False): argument 1150 return self._get()._dense_var_to_tensor(dtype, name, as_ref) 1154 if as_ref: 1185 def _tensor_conversion_tpu_mirrored(var, dtype=None, name=None, as_ref=False): argument 1186 …return var._dense_var_to_tensor(dtype=dtype, name=name, as_ref=as_ref) # pylint: disable=protecte… 1291 def _tensor_conversion_sync_on_read(var, dtype=None, name=None, as_ref=False): argument 1293 var.get(), dtype=dtype, name=name, as_ref=as_ref) [all …]
|
/external/tensorflow/tensorflow/contrib/linear_optimizer/python/ops/ |
D | sdca_ops.py | 283 def _convert_n_to_tensor(self, input_list, as_ref=False): argument 296 tensor_to_convert, as_ref=as_ref)) 603 self._convert_n_to_tensor([v], as_ref=True),
|
/external/tensorflow/tensorflow/python/training/saving/ |
D | saveable_object_util.py | 197 variable = ops.internal_convert_to_tensor(op, as_ref=True) 282 var = ops.internal_convert_to_tensor(var, as_ref=True)
|
/external/tensorflow/tensorflow/python/ops/ |
D | variables.py | 918 …def _TensorConversionFunction(v, dtype=None, name=None, as_ref=False): # pylint: disable=invalid-… argument 925 if as_ref: 2161 …def _TensorConversionFunction(v, dtype=None, name=None, as_ref=False): # pylint: disable=invalid-… argument 2168 if as_ref: 2584 def _TensorConversionFunction(v, dtype=None, name=None, as_ref=False): argument 2591 if as_ref:
|
D | resource_variable_ops.py | 1366 def _dense_var_to_tensor(self, dtype=None, name=None, as_ref=False): argument 1372 if as_ref: 1419 def _dense_var_to_tensor(var, dtype=None, name=None, as_ref=False): argument 1420 …return var._dense_var_to_tensor(dtype=dtype, name=name, as_ref=as_ref) # pylint: disable=protecte…
|
D | gradients_util.py | 54 def _IndexedSlicesToTensor(value, dtype=None, name=None, as_ref=False): argument 71 _ = as_ref 600 xs, name="x", as_ref=True)
|
D | control_flow_ops.py | 184 data = ops.internal_convert_to_tensor_or_composite(data, as_ref=True) 197 data = ops.internal_convert_to_tensor_or_composite(data, as_ref=True) 235 data = ops.internal_convert_to_tensor_or_composite(data, as_ref=True) 267 data = ops.internal_convert_to_tensor_or_composite(data, as_ref=True) 300 data, dtype=dtype, name="data", as_ref=True) 387 ops.internal_convert_to_tensor_or_composite(inp, as_ref=True)
|
D | array_ops.py | 1104 def _autopacking_conversion_function(v, dtype=None, name=None, as_ref=False): argument 1106 if as_ref:
|
/external/tensorflow/tensorflow/contrib/distribute/python/ |
D | values_test.py | 593 converted = ops.internal_convert_to_tensor(replica_local, as_ref=False) 597 converted = ops.internal_convert_to_tensor(replica_local, as_ref=True)
|