insert_logging_test.cc
imports tensorflow/core/platform/test.himports tensorflow/core/platform/test_benchmark.h
SHA-256b9e2bc4d9eb45383f8cee1fc49c8a5f03d018bfe3d099855aaf5d370e23e2a7f
MaleculeMd₂(In₂Pa)
Evidence
1/* Copyright 2015 The TensorFlow Authors. All Rights Reserved.
2
3Licensed under the Apache License, Version 2.0 (the "License");
4you may not use this file except in compliance with the License.
5You may obtain a copy of the License at
6
7 http://www.apache.org/licenses/LICENSE-2.0
8
9Unless required by applicable law or agreed to in writing, software
10distributed under the License is …
11:42… IND, either express or implied.
12See the License for the specific language governing permissions and
13limitations under the License.
14==============================================================================*/
15
16#include "tensorflow/cc/ops/const_op.h"
17#include "tensorflow/cc/ops/image_ops.h"
18#include "tensorflow/cc/ops/nn_ops.h"
19#include "tensorflow/cc/ops/sendrecv_ops.h"
20#include "tensorflow/cc/ops/standard_ops.h"
21#include "tensorflow/core/framework/tensor_testutil.h"
22#include "tensorflow/core/lib/core/status_test_util.h"
23#include "tensorflow/core/platform/test.h"
24#include "tensorflow/core/platform/test_benchmark.h"
25#include "tensorflow/core/public/session.h"
26#include "tensorflow/tools/graph_transforms/transform_utils.h"
27
28namespace tensorflow {
29namespace graph_transforms {
30
31// Declare here, so we don't need a pub …
78:34…
79 print_inputs.insert(node.input(0));
80 }
81 }
82
83 EXPECT_EQ(6, print_inputs.size());
84 EXPECT_EQ(1, print_inputs.count("mul_node1:0"));
85 EXPECT_EQ(1, print_inputs.count("add_node2:0" …