public interface Op
Operation wrappers provide strongly typed interfaces for building operations and linking them into a graph without the use of literals and indexes required by the core classes.
This interface allows keeping references to any operation wrapper using a common type.
// All values returned by an Ops call can be referred as a Op
Op split = ops.array().split(...);
Op shape = ops.array().shape(...);
// All operations could be added to an Op collection
Collection<Op> allOps = Arrays.asList(split, shape);
Copyright © 2015–2017. All rights reserved.