STT-tensorflow/tensorflow/python/framework/test_ops_2.cc
A. Unique TensorFlower 897c3e2dd6 Make the python default for shape fn be call_cpp_shape_fn.
Remove explicit RegisterShape calls that used call_cpp_shape_fn without
input_tensors_needed arguments.

Remove requirement that C++ shape functions be specified.
Change: 139089667
2016-11-14 10:44:25 -08:00

26 lines
892 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"
// Unlike test_ops.cc, these are built with the "require_shapes" option in the
// BUILD file.
namespace tensorflow {
REGISTER_OP("ShapelessOp");
} // end namespace tensorflow