/external/tensorflow/tensorflow/compiler/tests/ |
D | categorical_op_test.py | 63 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) 144 for output_dtype in self.output_dtypes(): [all …]
|
/external/tensorflow/tensorflow/contrib/seq2seq/python/kernel_tests/ |
D | basic_decoder_test.py | 69 output_dtype = my_decoder.output_dtype 76 output_dtype) 116 self.assertEqual(output_dtype.sample_id, 148 output_dtype = my_decoder.output_dtype 155 output_dtype) 193 self.assertEqual(output_dtype.sample_id, 224 output_dtype = my_decoder.output_dtype 231 output_dtype) 263 self.assertEqual(output_dtype.sample_id, sample_ids.dtype) 297 output_dtype = my_decoder.output_dtype [all …]
|
D | basic_decoder_v2_test.py | 78 output_dtype = my_decoder.output_dtype 85 output_dtype) 124 self.assertEqual(output_dtype.sample_id, 155 output_dtype = my_decoder.output_dtype 162 output_dtype) 199 self.assertEqual(output_dtype.sample_id, 231 output_dtype = my_decoder.output_dtype 238 output_dtype) 269 self.assertEqual(output_dtype.sample_id, sample_ids.dtype) 304 output_dtype = my_decoder.output_dtype [all …]
|
/external/tensorflow/tensorflow/python/ops/ |
D | stateless_random_ops.py | 189 output_dtype=dtypes.int64, argument 221 output_dtype, seed) 267 logits, num_samples, seed, output_dtype=dtype)
|
D | random_ops.py | 333 def multinomial(logits, num_samples, seed=None, name=None, output_dtype=None): argument 357 return multinomial_categorical_impl(logits, num_samples, output_dtype, seed) 393 logits, num_samples, seed=seed1, seed2=seed2, output_dtype=dtype)
|
D | nn_ops.py | 3833 output_dtype=dtypes.int64, argument 3890 Targmax=output_dtype, 3904 output_dtype=None, argument 3910 "output_dtype", output_dtype, "Targmax", Targmax)
|
D | image_ops_test.py | 4007 def _convert(self, original, original_dtype, output_dtype, expected): argument 4009 y_np = np.array(expected, dtype=output_dtype.as_numpy_dtype()) 4013 y = image_ops.convert_image_dtype(image, output_dtype) 4014 self.assertTrue(y.dtype == output_dtype) 4016 if output_dtype in [ 4020 image, output_dtype, saturate=True) 4021 self.assertTrue(y_saturate.dtype == output_dtype)
|
D | array_ops.py | 2412 output_dtype = ops.convert_to_tensor(args[0]).dtype.base_dtype 2420 mult_fact = ones(shapes, output_dtype)
|
/external/tensorflow/tensorflow/contrib/seq2seq/python/ops/ |
D | decoder.py | 75 def output_dtype(self): member in Decoder 192 def output_dtype(self): member in BaseDecoder 343 decoder.output_dtype, 375 decoder.output_dtype)
|
D | basic_decoder.py | 106 def output_dtype(self): member in BasicDecoder 218 def output_dtype(self): member in BasicDecoderV2
|
D | beam_search_decoder.py | 742 def output_dtype(self): member in BeamSearchDecoder 917 def output_dtype(self): member in BeamSearchDecoderV2
|
D | sampler.py | 752 logits_2d, n, seed=seed, output_dtype=sample_dtype)
|
D | helper.py | 107 logits_2d, n, seed=seed, output_dtype=sample_dtype)
|
/external/tensorflow/tensorflow/python/kernel_tests/random/ |
D | stateless_random_ops_test.py | 122 for output_dtype in dtypes.int32, dtypes.int64: 128 output_dtype=output_dtype)
|
D | multinomial_op_test.py | 60 for output_dtype in [np.int32, np.int64]: 66 logits, num_samples, output_dtype=output_dtype))
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.random.pbtxt | 37 …argspec: "args=[\'logits\', \'num_samples\', \'seed\', \'name\', \'output_dtype\'], varargs=None, … 61 …argspec: "args=[\'logits\', \'num_samples\', \'seed\', \'output_dtype\', \'name\'], varargs=None, …
|
/external/tensorflow/tensorflow/lite/kernels/ |
D | mul.cc | 217 #define TF_LITE_MUL(type, opname, output_dtype) \ in EvalQuantized() argument 225 GetTensorData<output_dtype>(output)) in EvalQuantized()
|
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/ |
D | image_resize_ops.cc | 599 DataType output_dtype; in ResizeBilinearGradOp() local 600 OP_REQUIRES_OK(ctx, ctx->GetAttr("T", &output_dtype)); in ResizeBilinearGradOp() 601 OP_REQUIRES_OK(ctx, DataTypeToPrimitiveType(output_dtype, &output_type_)); in ResizeBilinearGradOp()
|
D | resampler_ops.cc | 602 DataType output_dtype; in ResamplerGradOp() local 603 OP_REQUIRES_OK(ctx, ctx->GetAttr("T", &output_dtype)); in ResamplerGradOp()
|
/external/tensorflow/tensorflow/python/eager/ |
D | pywrap_tfe_src.cc | 2186 TF_DataType output_dtype = input_dtype; local 2195 output_dtype = desired_dtype; 2198 if (output_dtype != TF_INT32) { 2322 TF_DataType output_dtype = TFE_TensorHandleDataType(handle.get()); local 2323 if (desired_dtype >= 0 && desired_dtype != output_dtype) { 2324 if (tensorflow::IsCompatible(desired_dtype, output_dtype)) { 2329 output_dtype = TFE_TensorHandleDataType(handle.get()); 2345 dtype_setter(output_dtype);
|
/external/tensorflow/tensorflow/python/ops/distributions/ |
D | categorical.py | 278 logits_2d, n, seed=seed, output_dtype=sample_dtype)
|
/external/tensorflow/tensorflow/lite/python/ |
D | op_hint.py | 1008 output_dtype = ( 1011 output_dtypes.append(output_dtype)
|
/external/tensorflow/tensorflow/core/framework/ |
D | op_kernel.cc | 497 int input_index, int output_index, DataType output_dtype, in forward_input() argument 530 if (input_dtype(input_index) != output_dtype) { in forward_input()
|
/external/tensorflow/tensorflow/tools/api/golden/v2/ |
D | tensorflow.nn.pbtxt | 225 …argspec: "args=[\'input\', \'ksize\', \'strides\', \'padding\', \'data_format\', \'output_dtype\',…
|
/external/tensorflow/tensorflow/contrib/learn/python/learn/learn_io/ |
D | data_feeder.py | 418 def output_dtype(self): member in DataFeeder
|