File tree Expand file tree Collapse file tree 3 files changed +2
-12
lines changed
tensorflow-core/tensorflow-core-api/src
gen/annotations/org/tensorflow/op Expand file tree Collapse file tree 3 files changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -2755,7 +2755,7 @@ public Init init() {
2755
2755
*
2756
2756
* <p>Registered initializers are then grouped as a single unit of computation by adding
2757
2757
* and executing an {@link org.tensorflow.op.core.Init#create(Scope) init} operation from a graph
2758
- * session. No-ops if the session is eager.
2758
+ * session. This is a no-op if executed in an eager session .
2759
2759
*
2760
2760
* @param scope
2761
2761
* @param initializer
Original file line number Diff line number Diff line change @@ -293,16 +293,6 @@ public Runner addTarget(Op op) {
293
293
return addTarget (op .op ());
294
294
}
295
295
296
- /**
297
- * Make {@link #run} execute the graph's initializers.
298
- *
299
- * @return this session runner
300
- */
301
- public Runner doInitialization (){
302
- graph .initializers ().forEach (this ::addTarget );
303
- return this ;
304
- }
305
-
306
296
/**
307
297
* Set options (typically for debugging) for this run.
308
298
*
Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ public static Init create(Scope scope) {
89
89
*
90
90
* <p>Registered initializers are then grouped as a single unit of computation by adding
91
91
* and executing an {@link org.tensorflow.op.core.Init#create(Scope) init} operation from a graph
92
- * session. No-ops if the session is eager.
92
+ * session. This is a no-op if executed in an eager session .
93
93
*
94
94
* @param scope
95
95
* @param initializer
You can’t perform that action at this time.
0 commit comments