STT-tensorflow/tensorflow/c/test_op1.cc
Anna R dae1e7c693 Update c_api_test.cc to load test_op1.so instead of test_op.so. If op has the same name as already
loaded op, then it won't be added to list returned by TF_GetOpList. So, we want to load a different op.

PiperOrigin-RevId: 220210246
2018-11-05 18:40:19 -08:00

24 lines
875 B
C++

/* Copyright 2016 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
==============================================================================*/
#include "tensorflow/core/framework/op.h"
#include "tensorflow/core/framework/op_kernel.h"
namespace tensorflow {
REGISTER_OP("TestCApi1").Doc(R"doc(Used to test C API)doc");
} // namespace tensorflow