Searched refs:tensor_1 (Results 1 – 5 of 5) sorted by relevance
/external/tensorflow/tensorflow/lite/tools/optimize/ |
D | modify_model_interface_test.cc | 92 auto tensor_1 = absl::make_unique<TensorT>(); in CreateQuantizedModelSingleInputOutput() local 93 tensor_1->quantization = absl::make_unique<QuantizationParametersT>(); in CreateQuantizedModelSingleInputOutput() 94 tensor_1->quantization->scale.push_back(0.35); in CreateQuantizedModelSingleInputOutput() 95 tensor_1->quantization->zero_point.push_back(28); in CreateQuantizedModelSingleInputOutput() 96 tensor_1->name = "tensor_1"; in CreateQuantizedModelSingleInputOutput() 97 tensor_1->shape = {}; in CreateQuantizedModelSingleInputOutput() 98 tensor_1->type = quantization_type; in CreateQuantizedModelSingleInputOutput() 114 model->subgraphs[0]->tensors.push_back(std::move(tensor_1)); in CreateQuantizedModelSingleInputOutput() 197 auto tensor_1 = absl::make_unique<TensorT>(); in CreateQuantizedModelMultipleInputOutput() local 198 tensor_1->name = "tensor_1"; in CreateQuantizedModelMultipleInputOutput() [all …]
|
D | quantize_model.cc | 980 TensorT* tensor_1 = subgraph->tensors[op->inputs[index_1]].get(); in QuantizeSharedRange() local 982 const float min_of_min = std::min(tensor_1->quantization->min[0], in QuantizeSharedRange() 984 const float max_of_max = std::max(tensor_1->quantization->max[0], in QuantizeSharedRange() 999 for (TensorT* tensor : {tensor_1, tensor_2}) { in QuantizeSharedRange()
|
/external/tensorflow/tensorflow/python/debug/lib/ |
D | debug_v2_ops_test.py | 438 tensor_1, tensor_id_1 = debug_summary(c) 440 self.assertAllEqual(tensor_1, tensor_2) 446 tensor_1, tensor_id_1 = debug_summary(c) 448 self.assertAllEqual(tensor_1, tensor_2) 452 tensor_1, tensor_id_1 = debug_summary(c) 454 self.assertAllEqual(tensor_1, tensor_2) 538 tensor_1, tensor_id_1 = debug_summary(c) 540 self.assertAllEqual(tensor_1, tensor_2) 544 tensor_1, tensor_id_1 = debug_summary(c) 546 self.assertAllEqual(tensor_1, tensor_2) [all …]
|
/external/tensorflow/tensorflow/python/keras/engine/ |
D | training_utils_v1_test.py | 426 tensor_1 = sparse_tensor.SparseTensor([[0, 0]], [1], [1, 1]) 429 tensor_1, tensor_2) 436 tensor_1 = sparse_tensor.SparseTensorValue([[0, 0]], [1], [1, 1]) 439 tensor_1, tensor_2) 445 tensor_1 = ragged_tensor.RaggedTensor.from_row_splits( 450 tensor_1, tensor_2) 457 tensor_1 = ragged_tensor_value.RaggedTensorValue( 462 tensor_1, tensor_2)
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | logging_ops_test.py | 282 tensor_1 = math_ops.range(11, 20) 283 print_op_1 = logging_ops.print_v2(tensor_1,
|