Home
last modified time | relevance | path

Searched refs:as_ref (Results 1 – 14 of 14) sorted by relevance

/external/libmojo/mojo/public/tools/bindings/pylib/mojom/generate/
Dmodule.py21 def Repr(obj, as_ref=True): argument
37 return obj.Repr(as_ref=as_ref)
44 return ('[\n%s\n]' % (',\n'.join(' %s' % Repr(elem, as_ref).replace(
51 Repr(key, as_ref).replace('\n', '\n '),
52 Repr(val, as_ref).replace('\n', '\n '))
70 def ReprIndent(name, as_ref): argument
71 return ' %s=%s' % (name, Repr(getattr(obj, name), as_ref).replace(
76 ',\n'.join(ReprIndent(name, as_ref)
77 for (name, as_ref) in names.iteritems()))
92 def Repr(self, as_ref=True): argument
[all …]
/external/tensorflow/tensorflow/python/framework/
Dconstant_op.py233 as_ref=False): argument
234 _ = as_ref
251 as_ref=False): argument
253 _ = as_ref
284 as_ref=False): argument
286 _ = as_ref
Dops.py874 def _TensorTensorConversionFunction(t, dtype=None, name=None, as_ref=False): argument
875 _ = name, as_ref
946 as_ref=False)
956 as_ref=False, argument
1021 value, dtype=preferred_dtype, name=name, as_ref=as_ref)
1036 ret = conversion_func(value, dtype=dtype, name=name, as_ref=as_ref)
1060 as_ref=False, argument
1099 as_ref=as_ref,
1134 as_ref=False)
1159 value=value, dtype=dtype, name=name, as_ref=False)
[all …]
Dop_def_library.py455 as_ref=input_arg.is_ref)
465 value, as_ref=input_arg.is_ref)
509 as_ref=input_arg.is_ref,
524 values, as_ref=input_arg.is_ref).dtype.name
Dsparse_tensor.py126 values, name="values", as_ref=True)
/external/tensorflow/tensorflow/python/kernel_tests/
Dtensor_priority_test.py73 def raise_to_delegate(value, dtype=None, name=None, as_ref=False): argument
74 del value, dtype, name, as_ref # Unused.
/external/tensorflow/tensorflow/contrib/linear_optimizer/python/ops/
Dsdca_ops.py230 def _convert_n_to_tensor(self, input_list, as_ref=False): argument
232 return [internal_convert_to_tensor(x, as_ref=as_ref) for x in input_list]
395 [var], as_ref=True),
/external/tensorflow/tensorflow/python/ops/
Dresource_variable_ops.py846 def _dense_var_to_tensor(self, dtype=None, name=None, as_ref=False): argument
851 if as_ref:
898 def _dense_var_to_tensor(var, dtype=None, name=None, as_ref=False): argument
899 …return var._dense_var_to_tensor(dtype=dtype, name=name, as_ref=as_ref) # pylint: disable=protecte…
Dvariables.py752 …def _TensorConversionFunction(v, dtype=None, name=None, as_ref=False): # pylint: disable=invalid-… argument
759 if as_ref:
1354 def _TensorConversionFunction(v, dtype=None, name=None, as_ref=False): argument
1361 if as_ref:
Dgradients_impl.py61 def _IndexedSlicesToTensor(value, dtype=None, name=None, as_ref=False): argument
78 _ = as_ref
501 xs, name="x", as_ref=True)
Dcontrol_flow_ops.py194 data = ops.internal_convert_to_tensor_or_indexed_slices(data, as_ref=True)
216 data = ops.internal_convert_to_tensor_or_indexed_slices(data, as_ref=True)
262 data = ops.internal_convert_to_tensor_or_indexed_slices(data, as_ref=True)
327 data = ops.internal_convert_to_tensor_or_indexed_slices(data, as_ref=True)
369 data, dtype=dtype, name="data", as_ref=True)
469 ops.internal_convert_to_tensor_or_indexed_slices(inp, as_ref=True)
Darray_ops.py1010 def _autopacking_conversion_function(v, dtype=None, name=None, as_ref=False): argument
1012 if as_ref:
/external/tensorflow/tensorflow/python/eager/
Dfunction.py98 def _convert_to_graph_tensor(value, dtype=None, name=None, as_ref=False): argument
112 del as_ref # Unused.
/external/tensorflow/tensorflow/python/training/
Dsaver.py583 var = ops.internal_convert_to_tensor(var, as_ref=True)
673 variable = ops.internal_convert_to_tensor(op, as_ref=True)