Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/python/compiler/tensorrt/model_tests/
Dmodel_handler.py35 from tensorflow.python.framework import dtypes as tf_dtypes unknown
71 def _generate_random_tensor_ops(shape: Sequence[int], dtype: tf_dtypes.DType,
75 random_dtype = tf_dtypes.float32 if dtype.is_floating else tf_dtypes.int32
77 dtype_max = 1 if dtype == tf_dtypes.bool else dtype.max
92 dtype = tf_dtypes.as_dtype(tensor_info.dtype)