• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* Copyright 2021 The TensorFlow Authors. All Rights Reserved.
2 
3 Licensed under the Apache License, Version 2.0 (the "License");
4 you may not use this file except in compliance with the License.
5 You may obtain a copy of the License at
6 
7     http://www.apache.org/licenses/LICENSE-2.0
8 
9 Unless required by applicable law or agreed to in writing, software
10 distributed under the License is distributed on an "AS IS" BASIS,
11 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 See the License for the specific language governing permissions and
13 limitations under the License.
14 ==============================================================================*/
15 
16 // This file is MACHINE GENERATED! Do not edit.
17 
18 #ifndef TENSORFLOW_C_EXPERIMENTAL_OPS_ARRAY_OPS_H_
19 #define TENSORFLOW_C_EXPERIMENTAL_OPS_ARRAY_OPS_H_
20 
21 #include "tensorflow/c/eager/abstract_context.h"
22 #include "tensorflow/c/eager/abstract_tensor_handle.h"
23 
24 namespace tensorflow {
25 namespace ops {
26 
27 Status Identity(AbstractContext* ctx, AbstractTensorHandle* const input,
28                 AbstractTensorHandle** output, const char* name = nullptr);
29 
30 Status IdentityN(AbstractContext* ctx,
31                  absl::Span<AbstractTensorHandle* const> input,
32                  absl::Span<AbstractTensorHandle*> output,
33                  const char* name = nullptr);
34 
35 Status ZerosLike(AbstractContext* ctx, AbstractTensorHandle* const x,
36                  AbstractTensorHandle** y, const char* name = nullptr);
37 
38 Status Shape(AbstractContext* ctx, AbstractTensorHandle* const input,
39              AbstractTensorHandle** output, DataType out_type = DT_INT32,
40              const char* name = nullptr);
41 
42 Status ExpandDims(AbstractContext* ctx, AbstractTensorHandle* const input,
43                   AbstractTensorHandle* const dim,
44                   AbstractTensorHandle** output, const char* name = nullptr);
45 
46 Status OnesLike(AbstractContext* ctx, AbstractTensorHandle* const x,
47                 AbstractTensorHandle** y, const char* name = nullptr);
48 
49 }  // namespace ops
50 }  // namespace tensorflow
51 
52 #endif  // TENSORFLOW_C_EXPERIMENTAL_OPS_ARRAY_OPS_H_
53