Skip to content

Commit a886d69

Browse files
committed
Start of JavaCPP Scope generation
Signed-off-by: Ryan Nett <rnett@calpoly.edu>
1 parent bb2deab commit a886d69

File tree

3 files changed

+189
-115
lines changed
  • tensorflow-core/tensorflow-core-api/src

3 files changed

+189
-115
lines changed

tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/Ops.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -354,10 +354,10 @@ public final class Ops {
354354

355355
public final SparseOps sparse;
356356

357-
public final BitwiseOps bitwise;
358-
359357
public final TpuOps tpu;
360358

359+
public final BitwiseOps bitwise;
360+
361361
public final MathOps math;
362362

363363
public final AudioOps audio;
@@ -385,8 +385,8 @@ private Ops(Scope scope) {
385385
random = new RandomOps(this);
386386
strings = new StringsOps(this);
387387
sparse = new SparseOps(this);
388-
bitwise = new BitwiseOps(this);
389388
tpu = new TpuOps(this);
389+
bitwise = new BitwiseOps(this);
390390
math = new MathOps(this);
391391
audio = new AudioOps(this);
392392
signal = new SignalOps(this);

tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/internal/c_api/global/tensorflow.java

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4379,4 +4379,53 @@ public static native void TFE_ContextExportRunMetadata(TFE_Context ctx,
43794379
// #endif // TENSORFLOW_C_EAGER_C_API_H_
43804380

43814381

4382+
// Parsed from tensorflow/cc/framework/scope.h
4383+
4384+
/* Copyright 2016 The TensorFlow Authors. All Rights Reserved.
4385+
4386+
Licensed under the Apache License, Version 2.0 (the "License");
4387+
you may not use this file except in compliance with the License.
4388+
You may obtain a copy of the License at
4389+
4390+
http://www.apache.org/licenses/LICENSE-2.0
4391+
4392+
Unless required by applicable law or agreed to in writing, software
4393+
distributed under the License is distributed on an "AS IS" BASIS,
4394+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4395+
See the License for the specific language governing permissions and
4396+
limitations under the License.
4397+
==============================================================================*/
4398+
4399+
// #ifndef TENSORFLOW_CC_FRAMEWORK_SCOPE_H_
4400+
// #define TENSORFLOW_CC_FRAMEWORK_SCOPE_H_
4401+
4402+
// #include <memory>
4403+
// #include <string>
4404+
// #include <unordered_map>
4405+
// #include <unordered_set>
4406+
// #include <vector>
4407+
4408+
// #include "absl/strings/str_cat.h"
4409+
// #include "tensorflow/cc/framework/ops.h"
4410+
// #include "tensorflow/core/common_runtime/graph_constructor.h"
4411+
// #include "tensorflow/core/lib/core/status.h"
4412+
// #include "tensorflow/core/lib/gtl/array_slice.h"
4413+
// Targeting ../TF_Scope.java
4414+
4415+
4416+
4417+
/** A helper struct to hold the scopes that would be used by a function
4418+
* constructing a composite op. */
4419+
4420+
// Creates a node of the given operation, with the given inputs, and assigns the
4421+
// result to output. This does not support the ability to add additional
4422+
// attributes.
4423+
4424+
/** \} */
4425+
4426+
// namespace tensorflow
4427+
4428+
// #endif // TENSORFLOW_CC_FRAMEWORK_SCOPE_H_
4429+
4430+
43824431
}

0 commit comments

Comments
 (0)