Home
last modified time | relevance | path

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

12

/external/tensorflow/tensorflow/core/grappler/
Dutils_test.cc530 TestSetTensorValue<qint16>(DT_QINT16, -8, /*success=*/true, /*error_msg=*/""); in TEST()
531 TestSetTensorValue<qint16>(DT_QINT16, 0, /*success=*/true, /*error_msg=*/""); in TEST()
532 TestSetTensorValue<qint16>(DT_QINT16, 8, /*success=*/true, /*error_msg=*/""); in TEST()
533 TestSetTensorValue<qint16>(DT_QINT16, std::numeric_limits<qint16>::min(), in TEST()
535 TestSetTensorValue<qint16>(DT_QINT16, std::numeric_limits<qint16>::max(), in TEST()
537 TestSetTensorValue<qint16>(DT_QINT16, kMinInt, /*success=*/false, in TEST()
539 TestSetTensorValue<qint16>(DT_QINT16, kMaxInt, /*success=*/false, in TEST()
/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.h82 #define TF_CALL_qint16(m) m(::tensorflow::qint16)
113 #define TF_CALL_qint16(m) m(::tensorflow::qint16)
Dnumeric_types.h41 typedef Eigen::QInt16 qint16; typedef
Dtensor_util.h105 DEFINE_PROTO_FIELD_HELPER(qint16, int);
Dtypes.h400 MATCH_TYPE_AND_ENUM(qint16, DT_QINT16);
Dtensor.cc306 PROTO_TRAITS(qint16, int32, int);
716 CASE(qint16, SINGLE_ARG(STMTS)) \
/external/tensorflow/tensorflow/core/kernels/
Ddequantize_op.cc128 Name("Dequantize").Device(DEVICE_CPU).TypeConstraint<qint16>("T"),
129 DequantizeOp<CPUDevice, qint16>);
Ddequantize_op_test.cc121 RunDequantizeMinCombinedTest<qint16>(0, 255.0f); in TEST_F()
177 BM_DequantizeMinCombinedCpu<qint16>(iters); in BM_DequantizeMinCombinedCpuQint16()
Dquantize_op.cc239 Name("QuantizeV2").Device(DEVICE_CPU).TypeConstraint<qint16>("T"),
240 QuantizeV2Op<CPUDevice, qint16>);
Dcast_op_test.cc96 TEST_CAST(in, qint16); \
113 TEST_ALL_CASTS_FROM(qint16) in TEST_ALL_CASTS_FROM()
Dconcat_lib_cpu.cc74 REGISTER(qint16)
Dconstant_op.cc109 REGISTER_KERNEL(GPU, qint16);
134 REGISTER_SYCL_KERNEL(SYCL, qint16);
Dfill_functor.cc57 DEFINE_SETZERO_CPU(qint16);
Dconcat_op.cc195 REGISTER_CONCAT(qint16);
Dquantization_utils_test.cc646 TestFloatToQuantizedInPlaceUsingEigen<qint16>(&eigen_device); in TestFloatToQuantizedInPlaceUsingEigen()
725 TestQuantizedToFloatInPlaceUsingEigen<qint16>(&eigen_device); in TestQuantizedToFloatInPlaceUsingEigen()
/external/tensorflow/tensorflow/python/framework/
Dtensor_util.py115 dtypes.qint16.as_numpy_dtype:
179 dtypes.qint16.as_numpy_dtype: SlowAppendQIntArrayToTensorProto,
240 dtypes.int8, dtypes.int64, dtypes.qint8, dtypes.quint8, dtypes.qint16,
335 dtypes.qint16: [_FilterInt, _FilterTuple],
434 dtypes.qint8, dtypes.quint8, dtypes.qint16, dtypes.quint16,
625 dtypes.qint32, dtypes.quint8, dtypes.qint8, dtypes.qint16, dtypes.quint16
Ddtypes.py366 qint16 = DType(types_pb2.DT_QINT16) variable
425 types_pb2.DT_QINT16: qint16,
555 _np_qint16: qint16,
667 _QUANTIZED_DTYPES_NO_REF = frozenset([qint8, quint8, qint16, quint16, qint32])
Dtensor_util_test.py468 t = tensor_util.make_tensor_proto(data, dtype=dtypes.qint16)
482 self.assertEquals(dtypes.qint16.as_numpy_dtype, a.dtype)
/external/tensorflow/tensorflow/compiler/tf2xla/
Dliteral_util_test.cc49 std::pair<int16, qint16>, std::pair<uint16, quint16>,
/external/tensorflow/tensorflow/python/ops/
Ddequantize_op_test.py45 dtypes.qint16: np.int16
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/
Dgrpc_tensor_coding_test.cc94 DoTest<qint16>(DT_QINT16); in TEST_F()
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.dtypes.pbtxt64 name: "qint16"
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.dtypes.pbtxt64 name: "qint16"
/external/tensorflow/tensorflow/core/distributed_runtime/
Dtensor_coding_test.cc150 DoTest<qint16>(DT_QINT16); in TEST_F()

12