Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/kernels/
Dquantize_and_dequantize_op.cc76 Tensor input_max_tensor; in Compute() local
79 input_max_tensor = ctx->input(2); in Compute()
81 auto max_val = input_max_tensor.scalar<T>()(); in Compute()
89 TensorShape(), &input_max_tensor)); in Compute()
94 range_given_, &input_min_tensor, &input_max_tensor, round_mode_, in Compute()
137 Tensor input_max_tensor; in Compute() local
140 input_max_tensor = ctx->input(2); in Compute()
142 auto max_val = input_max_tensor.scalar<T>()(); in Compute()
150 TensorShape(), &input_max_tensor)); in Compute()
155 range_given_, &input_min_tensor, &input_max_tensor, ROUND_HALF_TO_EVEN, in Compute()
[all …]
Dquantize_and_dequantize_op.h47 Tensor* input_min_tensor, Tensor* input_max_tensor,
109 Tensor* input_min_tensor, Tensor* input_max_tensor, in Compute()
115 auto input_max = input_max_tensor->scalar<T>(); in Compute()
124 max_range = input_max_tensor->scalar<T>()(); in Compute()
Dquantize_and_dequantize_op_gpu.cu.cc34 Tensor* input_min_tensor, Tensor* input_max_tensor, in operator ()()
38 input_max_tensor, round_mode, out); in operator ()()
/external/tensorflow/tensorflow/core/graph/
Dquantize_training.cc516 Tensor input_max_tensor(DT_FLOAT, TensorShape()); in MakeInputMinMax() local
517 input_max_tensor.flat<float>()(0) = edge.input_max; in MakeInputMinMax()
521 .Attr("value", input_max_tensor) in MakeInputMinMax()
/external/tensorflow/tensorflow/tools/graph_transforms/
Dquantize_nodes_test.cc934 Tensor input_max_tensor(DT_FLOAT, TensorShape({})); in TestMergeAdjacentRequantizes() local
935 test::FillValues<float>(&input_max_tensor, {255.0f}); in TestMergeAdjacentRequantizes()
937 Input::Initializer(input_max_tensor)); in TestMergeAdjacentRequantizes()