Home
last modified time | relevance | path

Searched refs:output_dtype (Results 1 – 25 of 40) sorted by relevance

12

/external/tensorflow/tensorflow/compiler/tests/
Dcategorical_op_test.py63 output_dtype=dtypes.int32)
81 def _testRngIsNotConstant(self, rng, dtype, output_dtype): argument
85 x = rng(dtype, output_dtype)
100 def rng(dtype, output_dtype): argument
102 output_dtype=output_dtype)
105 for output_dtype in self.output_dtypes():
106 self._testRngIsNotConstant(rng, dtype, output_dtype)
110 for output_dtype in self.output_dtypes():
115 output_dtype=output_dtype)
145 for output_dtype in self.output_dtypes():
[all …]
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v1/
DMultinomial.pbtxt109 type_attr: "output_dtype"
146 name: "output_dtype"
172 type_attr: "output_dtype"
209 name: "output_dtype"
DDebugNumericSummaryV2.pbtxt38 type_attr: "output_dtype"
41 name: "output_dtype"
DStatelessMultinomial.pbtxt17 type_attr: "output_dtype"
53 name: "output_dtype"
/external/tensorflow/tensorflow/python/keras/layers/preprocessing/
Dcategorical.py101 output_dtype = dtypes.int64
104 shape=output_shape, dtype=output_dtype)
106 return tensor_spec.TensorSpec(shape=output_shape, dtype=output_dtype)
Dcategorical_encoding.py132 output_dtype = K.floatx() if self._output_mode == TFIDF else dtypes.int64
133 return tensor_spec.TensorSpec(shape=output_shape, dtype=output_dtype)
Dtext_vectorization.py400 output_dtype = K.floatx() if self._output_mode == TFIDF else dtypes.int64
401 return tensor_spec.TensorSpec(shape=output_shape, dtype=output_dtype)
/external/tensorflow/tensorflow/python/debug/lib/
Ddebug_v2_ops_test.py285 output_dtype=dtypes.float64))
295 output_dtype=dtypes.float64))
306 output_dtype=dtypes.float64)), x._id
342 output_dtype=dtypes.float64)), x._id
369 output_dtype=dtypes.float64)), x._id
403 output_dtype=dtypes.float64)), x._id
440 output_dtype=dtypes.float64)), x._id
468 output_dtype=dtypes.float64)), x._id
494 output_dtype=dtypes.float64)), x._id
509 output_dtype=dtypes.float64)), x._id
[all …]
Ddumping_callback.py383 output_dtype=dtypes.float64),
484 output_dtype=dtypes.float64))
495 output_dtype=dtypes.float64))
/external/tensorflow/tensorflow/python/ops/
Dstateless_random_ops.py195 output_dtype=dtypes.int64, argument
227 output_dtype, seed)
273 logits, num_samples, seed, output_dtype=dtype)
Drandom_ops.py392 def multinomial(logits, num_samples, seed=None, name=None, output_dtype=None): argument
416 return multinomial_categorical_impl(logits, num_samples, output_dtype, seed)
452 logits, num_samples, seed=seed1, seed2=seed2, output_dtype=dtype)
Dnn_ops.py4064 output_dtype=dtypes.int64, argument
4121 Targmax=output_dtype,
4135 output_dtype=None, argument
4141 "output_dtype", output_dtype, "Targmax", Targmax)
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/utils/
Dconvert_tensor.cc296 DataType output_dtype; in ConvertToTensorProto() local
297 TF_RETURN_IF_ERROR(ConvertToDataType(type, &output_dtype)); in ConvertToTensorProto()
298 output_tensor->set_dtype(output_dtype); in ConvertToTensorProto()
301 switch (output_dtype) { in ConvertToTensorProto()
/external/tensorflow/tensorflow/python/kernel_tests/random/
Dstateless_random_ops_test.py122 for output_dtype in dtypes.int32, dtypes.int64:
128 output_dtype=output_dtype)
Dmultinomial_op_test.py60 for output_dtype in [np.int32, np.int64]:
66 logits, num_samples, output_dtype=output_dtype))
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.random.pbtxt53 …argspec: "args=[\'logits\', \'num_samples\', \'seed\', \'name\', \'output_dtype\'], varargs=None, …
81 …argspec: "args=[\'logits\', \'num_samples\', \'seed\', \'output_dtype\', \'name\'], varargs=None, …
/external/tensorflow/tensorflow/lite/kernels/
Dmul.cc219 #define TF_LITE_MUL(type, opname, output_dtype) \ in EvalQuantized() argument
227 GetTensorData<output_dtype>(output)) in EvalQuantized()
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dimage_resize_ops.cc635 DataType output_dtype; in ResizeBilinearGradOp() local
636 OP_REQUIRES_OK(ctx, ctx->GetAttr("T", &output_dtype)); in ResizeBilinearGradOp()
637 OP_REQUIRES_OK(ctx, DataTypeToPrimitiveType(output_dtype, &output_type_)); in ResizeBilinearGradOp()
Dresampler_ops.cc602 DataType output_dtype; in ResamplerGradOp() local
603 OP_REQUIRES_OK(ctx, ctx->GetAttr("T", &output_dtype)); in ResamplerGradOp()
/external/tensorflow/tensorflow/compiler/jit/
Dxla_launch_util.cc311 DataType output_dtype, const TensorShape& output_shape, in GetOrCreateTensorForOutput() argument
318 return MakeTensor(output_dtype, output_shape, output_buffer, in GetOrCreateTensorForOutput()
/external/tensorflow/tensorflow/python/ops/distributions/
Dcategorical.py278 logits_2d, n, seed=seed, output_dtype=sample_dtype)
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_DebugNumericSummaryV2.pbtxt76 name: "output_dtype"
/external/tensorflow/tensorflow/lite/python/
Dop_hint.py1015 output_dtype = (
1018 output_dtypes.append(output_dtype)
/external/tensorflow/tensorflow/python/ops/parallel_for/
Dpfor.py2800 output_dtype = pfor_input.get_attr("output_dtype")
2813 output_dtype=output_dtype)
2821 output_dtype=output_dtype)
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.nn.pbtxt225 …argspec: "args=[\'input\', \'ksize\', \'strides\', \'padding\', \'data_format\', \'output_dtype\',…

12