File tree Expand file tree Collapse file tree 3 files changed +9
-4
lines changed
tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -56,3 +56,7 @@ gradleBuild
56
56
** /target
57
57
.tf_configure.bazelrc
58
58
.clwb /
59
+
60
+ # Deployment Files
61
+ settings.xml
62
+ pom.xml.asc
Original file line number Diff line number Diff line change @@ -430,7 +430,7 @@ public List<Signature> signatures() {
430
430
* @return object that can be used to make calls to a function
431
431
* @throws IllegalArgumentException if {@code signatureKey} is not found in this saved model.
432
432
*/
433
- public TensorFunction function (String signatureKey ) {
433
+ public SessionFunction function (String signatureKey ) {
434
434
SessionFunction function = functions .get (signatureKey );
435
435
if (function == null ) {
436
436
throw new IllegalArgumentException (
@@ -444,7 +444,7 @@ public TensorFunction function(String signatureKey) {
444
444
*
445
445
* <p><b>All functions use the bundle's underlying session.</b>
446
446
*/
447
- public List <TensorFunction > functions () {
447
+ public List <SessionFunction > functions () {
448
448
return new ArrayList <>(functions .values ());
449
449
}
450
450
Original file line number Diff line number Diff line change @@ -397,12 +397,13 @@ public Runner fetch(Operand<?> operand) {
397
397
* Make {@link #run()} execute {@code operation}, but not return any evaluated {@link Tensor
398
398
* Tensors}.
399
399
*
400
- * @param operation the string name of the operation to execute
400
+ * @param operation Is either the string name of the operation or it is a string of the form
401
+ * <tt>operation_name:output_index</tt>, where <tt>output_index</tt> will simply be ignored.
401
402
* @return this session runner
402
403
* @throws IllegalArgumentException if no operation exists with the provided name
403
404
*/
404
405
public Runner addTarget (String operation ) {
405
- return addTarget (graph .operationOrThrow (operation ));
406
+ return addTarget (graph .outputOrThrow (operation ));
406
407
}
407
408
408
409
/**
You can’t perform that action at this time.
0 commit comments