rename_attribute_test.cc
imports tensorflow/core/platform/test.himports tensorflow/core/platform/test_benchmark.h
SHA-256bb90dccf26085f0899654a0399070be67c1f14266ea46291047f4e023d18a301
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 …
94:48… lookup;
95 MapNamesToNodes(wildcard_result, &node_lookup);
96 EXPECT_EQ(0, node_lookup.at("mul_node1")->attr().count("foo"));
97 EXPECT_EQ(1, node_lookup.at("mul_node1")->attr().count("baz"));
98 E …