1 | // This file is MACHINE GENERATED! Do not edit. |
---|---|
2 | |
3 | #ifndef TENSORFLOW_CC_OPS_NO_OP_H_ |
4 | #define TENSORFLOW_CC_OPS_NO_OP_H_ |
5 | |
6 | // This file is MACHINE GENERATED! Do not edit. |
7 | |
8 | #include "tensorflow/cc/framework/ops.h" |
9 | #include "tensorflow/cc/framework/scope.h" |
10 | #include "tensorflow/core/framework/tensor.h" |
11 | #include "tensorflow/core/framework/tensor_shape.h" |
12 | #include "tensorflow/core/framework/types.h" |
13 | #include "tensorflow/core/lib/gtl/array_slice.h" |
14 | |
15 | namespace tensorflow { |
16 | namespace ops { |
17 | |
18 | /// @defgroup no_op No Op |
19 | /// @{ |
20 | |
21 | /// Does nothing. Only useful as a placeholder for control edges. |
22 | /// |
23 | /// Args: |
24 | /// * scope: A Scope object |
25 | /// |
26 | /// Returns: |
27 | /// * the created `Operation` |
28 | class NoOp { |
29 | public: |
30 | NoOp(const ::tensorflow::Scope& scope); |
31 | operator ::tensorflow::Operation() const { return operation; } |
32 | |
33 | Operation operation; |
34 | }; |
35 | |
36 | /// @} |
37 | |
38 | } // namespace ops |
39 | } // namespace tensorflow |
40 | |
41 | #endif // TENSORFLOW_CC_OPS_NO_OP_H_ |
42 |