/external/tensorflow/tensorflow/tools/graph_transforms/ |
D | fold_batch_norms_test.cc | 71 std::vector<Tensor> original_outputs; in TestFoldBatchNormsConv2D() local 72 TF_ASSERT_OK(original_session->Run({}, {"output"}, {}, &original_outputs)); in TestFoldBatchNormsConv2D() 83 test::ExpectTensorNear<float>(original_outputs[0], fused_outputs[0], 1e-5); in TestFoldBatchNormsConv2D() 122 std::vector<Tensor> original_outputs; in TestFoldBatchNormsDepthwiseConv2dNative() local 123 TF_ASSERT_OK(original_session->Run({}, {"output"}, {}, &original_outputs)); in TestFoldBatchNormsDepthwiseConv2dNative() 134 test::ExpectTensorNear<float>(original_outputs[0], fused_outputs[0], 1e-5); in TestFoldBatchNormsDepthwiseConv2dNative() 181 std::vector<Tensor> original_outputs; in TestFoldBatchNormsConv2DShared() local 183 &original_outputs)); in TestFoldBatchNormsConv2DShared() 195 test::ExpectTensorNear<float>(original_outputs[0], fused_outputs[0], 1e-5); in TestFoldBatchNormsConv2DShared() 196 test::ExpectTensorNear<float>(original_outputs[1], fused_outputs[1], 1e-5); in TestFoldBatchNormsConv2DShared() [all …]
|
D | fuse_convolutions_test.cc | 80 std::vector<Tensor> original_outputs; in TestFuseResizePadAndConv() local 81 TF_ASSERT_OK(original_session->Run({}, {"output"}, {}, &original_outputs)); in TestFuseResizePadAndConv() 92 test::ExpectTensorNear<float>(original_outputs[0], fused_outputs[0], 1e-5); in TestFuseResizePadAndConv() 130 std::vector<Tensor> original_outputs; in TestFuseResizeAndConv() local 131 TF_ASSERT_OK(original_session->Run({}, {"output"}, {}, &original_outputs)); in TestFuseResizeAndConv() 142 test::ExpectTensorNear<float>(original_outputs[0], fused_outputs[0], 1e-5); in TestFuseResizeAndConv() 182 std::vector<Tensor> original_outputs; in TestFusePadAndConv() local 183 TF_ASSERT_OK(original_session->Run({}, {"output"}, {}, &original_outputs)); in TestFusePadAndConv() 194 test::ExpectTensorNear<float>(original_outputs[0], fused_outputs[0], 1e-5); in TestFusePadAndConv()
|
D | fold_old_batch_norms_test.cc | 105 std::vector<Tensor> original_outputs; in TestFoldOldBatchNorms() local 106 TF_ASSERT_OK(original_session->Run({}, {"output"}, {}, &original_outputs)); in TestFoldOldBatchNorms() 117 test::ExpectTensorNear<float>(original_outputs[0], fused_outputs[0], 1e-5); in TestFoldOldBatchNorms() 183 std::vector<Tensor> original_outputs; in TestFoldOldBatchNormsAfterDepthwiseConv2dNative() local 184 TF_ASSERT_OK(original_session->Run({}, {"output"}, {}, &original_outputs)); in TestFoldOldBatchNormsAfterDepthwiseConv2dNative() 195 test::ExpectTensorNear<float>(original_outputs[0], fused_outputs[0], 1e-5); in TestFoldOldBatchNormsAfterDepthwiseConv2dNative() 260 std::vector<Tensor> original_outputs; in TestFoldFusedBatchNorms() local 261 TF_ASSERT_OK(original_session->Run({}, {"output"}, {}, &original_outputs)); in TestFoldFusedBatchNorms() 272 test::ExpectTensorNear<float>(original_outputs[0], fused_outputs[0], 2e-5); in TestFoldFusedBatchNorms() 337 std::vector<Tensor> original_outputs; in TestFoldFusedBatchNormsAfterDepthwiseConv2dNative() local [all …]
|
D | round_weights_test.cc | 67 std::vector<Tensor> original_outputs; in TestRoundWeights() local 68 TF_ASSERT_OK(original_session->Run({}, {"output"}, {}, &original_outputs)); in TestRoundWeights() 79 test::ExpectTensorNear<float>(original_outputs[0], rounded_outputs[0], 0.5); in TestRoundWeights()
|
D | flatten_atrous_test.cc | 86 std::vector<Tensor> original_outputs; in TestFlattenAtrousConv() local 87 TF_ASSERT_OK(original_session->Run({}, {"output"}, {}, &original_outputs)); in TestFlattenAtrousConv() 108 test::ExpectTensorNear<float>(original_outputs[0], modified_outputs[0], in TestFlattenAtrousConv()
|
D | freeze_requantization_ranges_test.cc | 141 std::vector<Tensor> original_outputs; in TestFreezeRequantizationRanges() local 143 original_session->Run({}, {"dequantize_op"}, {}, &original_outputs)); in TestFreezeRequantizationRanges() 151 ASSERT_EQ(original_outputs.size(), frozen_outputs.size()); in TestFreezeRequantizationRanges() 153 test::ExpectTensorNear<float>(original_outputs[0], frozen_outputs[0], 0.5); in TestFreezeRequantizationRanges()
|
D | quantize_weights_test.cc | 99 std::vector<Tensor> original_outputs; in TestQuantizeWeights() local 100 TF_ASSERT_OK(original_session->Run({}, {"output"}, {}, &original_outputs)); in TestQuantizeWeights() 110 test::ExpectTensorNear<float>(original_outputs[0], quantized_outputs[0], in TestQuantizeWeights()
|
/external/tensorflow/tensorflow/python/saved_model/ |
D | load.py | 321 original_outputs = coder.decode_proto(proto.output_signature) 327 …concrete_function._func_graph.structured_outputs = original_outputs # pylint: disable=protected-a…
|