Home
last modified time | relevance | path

Searched refs:qint16 (Results 1 – 25 of 47) sorted by relevance

12

/external/tensorflow/tensorflow/core/framework/
Dtype_traits.h47 struct is_quantized<qint16> : true_type {};
86 class numeric_limits<tensorflow::qint16>
101 struct is_signed<tensorflow::qint16> : public is_signed<tensorflow::int16> {};
Dregister_types.h83 #define TF_CALL_qint16(m) m(::tensorflow::qint16)
115 #define TF_CALL_qint16(m) m(::tensorflow::qint16)
Dnumeric_types.h40 typedef Eigen::QInt16 qint16; typedef
Dtypes.cc264 DEFINE_DATATYPETOENUM_VALUE(qint16);
/external/tensorflow/tensorflow/compiler/mlir/xla/tests/
Dlegalize-tf-types.mlir32 func @id_qint16(%arg0: tensor<1x!tf.qint16>) -> tensor<1x!tf.qint16> {
35 return %arg0: tensor<1x!tf.qint16>
/external/tensorflow/tensorflow/core/grappler/
Dutils_test.cc649 TestSetTensorValue<qint16>(DT_QINT16, -8, /*success=*/true, /*error_msg=*/""); in TEST()
650 TestSetTensorValue<qint16>(DT_QINT16, 0, /*success=*/true, /*error_msg=*/""); in TEST()
651 TestSetTensorValue<qint16>(DT_QINT16, 8, /*success=*/true, /*error_msg=*/""); in TEST()
652 TestSetTensorValue<qint16>(DT_QINT16, std::numeric_limits<qint16>::min(), in TEST()
654 TestSetTensorValue<qint16>(DT_QINT16, std::numeric_limits<qint16>::max(), in TEST()
656 TestSetTensorValue<qint16>(DT_QINT16, kMinInt, /*success=*/false, in TEST()
658 TestSetTensorValue<qint16>(DT_QINT16, kMaxInt, /*success=*/false, in TEST()
/external/tensorflow/tensorflow/core/kernels/
Ddequantize_op.cc247 .TypeConstraint<qint16>("T")
249 DequantizeOp<CPUDevice, qint16, float>);
273 .TypeConstraint<qint16>("T")
275 DequantizeOp<CPUDevice, qint16, bfloat16>);
Dfill_functor.cc59 DEFINE_SETZERO_CPU(qint16);
111 DEFINE_FILL_CPU(qint16);
Ddequantize_op_test.cc196 RunDequantizeMinCombinedTest<qint16>(0, 255.0f, "Dequantize"); in TEST_F()
209 RunDequantizeBfloat16MinCombinedTest<qint16>(0, 255.0f); in TEST_F()
276 BM_DequantizeMinCombinedCpu<qint16>(state); in BM_DequantizeMinCombinedCpuQint16()
322 BM_DequantizeBfloat16MinCombinedCpu<qint16>(state); in BM_DequantizeBfloat16MinCombinedCpuQint16()
Dcwise_op_not_equal_to_1.cc22 uint64, qint8, qint16, quint8, quint16);
Dcwise_op_equal_to_1.cc22 qint8, qint16, quint8, quint16);
Dconcat_lib_cpu.cc117 REGISTER(qint16)
Dquantize_op.cc315 Name("QuantizeV2").Device(DEVICE_CPU).TypeConstraint<qint16>("T"),
316 QuantizeV2Op<CPUDevice, qint16>);
Dcast_op_test.cc99 TEST_CAST(in, qint16); \
116 TEST_ALL_CASTS_FROM(qint16) in TEST_ALL_CASTS_FROM()
Dconstant_op.cc114 REGISTER_KERNEL(GPU, qint16);
189 REGISTER_KERNEL(CPU, qint16);
/external/tensorflow/tensorflow/python/framework/
Dconstant_op_test.py44 dtypes.qint16,
Ddtypes.py281 qint16 = DType(types_pb2.DT_QINT16) variable
335 types_pb2.DT_QINT16: qint16,
464 _np_qint16: qint16,
580 _QUANTIZED_DTYPES_NO_REF = frozenset([qint8, quint8, qint16, quint16, qint32])
Dtensor_util.py116 dtypes.qint16.as_numpy_dtype:
180 dtypes.qint16.as_numpy_dtype: SlowAppendQIntArrayToTensorProto,
242 dtypes.qint16, dtypes.quint16, dtypes.qint32, dtypes.uint32, dtypes.uint64
297 dtypes.qint16: _check_quantized,
430 dtypes.qint8, dtypes.quint8, dtypes.qint16, dtypes.quint16,
626 dtypes.qint32, dtypes.quint8, dtypes.qint8, dtypes.qint16, dtypes.quint16
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/
Dunique_test.py90 dtypes.float64, dtypes.qint16, dtypes.qint32
/external/tensorflow/tensorflow/compiler/tf2xla/
Dliteral_util_test.cc49 std::pair<int16, qint16>, std::pair<uint16, quint16>,
/external/tensorflow/tensorflow/security/fuzzing/
Dpython_fuzzing.py32 tf.int32, tf.int64, tf.bool, tf.string, tf.qint8, tf.quint8, tf.qint16,
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/
Dgrpc_tensor_coding_test.cc94 DoTest<qint16>(DT_QINT16); in TEST_F()
/external/tensorflow/tensorflow/python/dlpack/
Ddlpack_test.py98 tf_tensor = constant_op.constant([[1, 4], [5, 2]], dtype=dtypes.qint16)
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.dtypes.pbtxt64 name: "qint16"
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/ir/
Dtf_types.def23 HANDLE_TF_TYPE(Qint16, QINT16, "qint16")

12