Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/python/autograph/operators/
Ddata_structures.py63 inferred_dtype, = tuple(all_dtypes)
64 if element_dtype is not None and element_dtype != inferred_dtype:
67 element_dtype, elements, inferred_dtype))
92 element_dtype = inferred_dtype
121 inferred_dtype = tuple(all_dtypes)[0]
122 if element_dtype is not None and element_dtype != inferred_dtype:
125 element_dtype, elements, inferred_dtype))
132 inferred_dtype = dtypes.variant
134 inferred_dtype = dtypes.variant
154 element_dtype = inferred_dtype
/external/tensorflow/tensorflow/python/lib/core/
Dpy_seq_tensor.cc79 DataType inferred_dtype; member
89 ConverterState() : inferred_dtype(DT_INVALID), last_zerodim_type(nullptr) {} in ConverterState()
160 state->inferred_dtype = DT_STRING; in InferShapeAndType()
172 state->inferred_dtype = DT_INVALID; // Invalid dtype for empty tensors. in InferShapeAndType()
187 state->inferred_dtype = DT_DOUBLE; in InferShapeAndType()
189 state->inferred_dtype = DT_HALF; in InferShapeAndType()
191 state->inferred_dtype = DT_FLOAT; in InferShapeAndType()
194 state->inferred_dtype = DT_BOOL; in InferShapeAndType()
196 state->inferred_dtype = DT_INT64; in InferShapeAndType()
198 state->inferred_dtype = DT_INT64; in InferShapeAndType()
[all …]
/external/tensorflow/tensorflow/python/framework/
Dpython_api_parameter_converter.cc161 bool inferred_dtype = (dtype == DT_INVALID); in ConvertToTensorInPlace() local
169 if (inferred_dtype && !IsOkDType(dtype, ok_dtypes)) { in ConvertToTensorInPlace()
/external/tensorflow/tensorflow/python/ops/ragged/
Dragged_math_ops.py118 inferred_dtype = max([t.dtype for t in tensors], key=dtype_hierarchy.index)
119 return [math_ops.cast(t, inferred_dtype) for t in tensors]
/external/tensorflow/tensorflow/python/ops/
Dmath_ops.py1880 inferred_dtype = max([arg.dtype for arg in [start, limit, delta]],
1883 inferred_dtype = dtype
1887 start = cast(start, inferred_dtype)
1888 limit = cast(limit, inferred_dtype)
1889 delta = cast(delta, inferred_dtype)
Darray_ops.py1527 inferred_dtype = _get_dtype_from_nested_lists(v)
1528 if inferred_dtype is None:
1533 dtype = inferred_dtype
1534 elif dtype != inferred_dtype: