Package | Description |
---|---|
org.bytedeco.pytorch | |
org.bytedeco.pytorch.global |
Modifier and Type | Method and Description |
---|---|
ValueVector |
MatchedSchema.inputs() |
ValueVector |
ValueVector.push_back(Value value) |
ValueVector |
ValueVector.put(long i,
Value value) |
ValueVector |
ValueVector.put(Value... array) |
ValueVector |
ValueVector.put(Value value) |
ValueVector |
ValueVector.put(ValueVector x) |
ValueVector |
ValueArrayRef.vec()
\}
\name Expensive Operations
\{
|
Modifier and Type | Method and Description |
---|---|
JitNode |
Graph.create(Symbol kind,
ValueVector inputs) |
JitNode |
Graph.create(Symbol kind,
ValueVector inputs,
long num_outputs) |
JitNode |
Graph.createDict(Type.TypePtr key_type,
Type.TypePtr value_type,
ValueVector keys,
ValueVector values) |
JitNode |
Graph.createList(Type.TypePtr contained_type,
ValueVector values) |
JitNode |
Graph.createTuple(ValueVector values) |
JitNode |
Graph.createTuple(ValueVector values,
TupleType optional_named_tuple) |
boolean |
ValueArrayRef.equals(ValueVector RHS) |
MatchedSchema |
MatchedSchema.inputs(ValueVector setter) |
ValueVector |
ValueVector.put(ValueVector x) |
Constructor and Description |
---|
RangeValue(SourceRange loc,
GraphFunction m,
ValueVector input) |
RangeValue(SourceRange loc,
GraphFunction m,
ValueVector input,
LongOptional static_len) |
ValueArrayRef(ValueVector vec)
Construct an ArrayRef from a std::vector.
|
Modifier and Type | Method and Description |
---|---|
static ValueVector |
torch.inlineCallTo(JitNode to_replace,
GraphFunction callee) |
static ValueVector |
torch.inlineCallTo(JitNode to_replace,
GraphFunction callee,
boolean use_graph)
Insert function \p CALLEE after node \p TO_REPLACE, remove the node and
replace all its uses with corresponding outputs of the inserted function.
|
static ValueVector |
torch.inlineCallTo(JitNode to_replace,
GraphFunction callee,
Graph callee_graph) |
static ValueVector |
torch.insertGraph(Graph g,
Graph callee,
ValueArrayRef inputs)
Insert graph \p CALLEE into graph \p G using \p INPUTS as input values.
|
static ValueVector |
torch.insertGraph(Graph g,
Graph callee,
ValueArrayRef inputs,
ValueValueMap value_map) |
static ValueVector |
torch.insertGraph(Graph g,
Graph callee,
ValueVector inputs) |
static ValueVector |
torch.insertGraph(Graph g,
Graph callee,
ValueVector inputs,
ValueValueMap value_map) |
static ValueVector |
torch.toValues(Graph g,
NamedValueArrayRef nvs) |
static ValueVector |
torch.unpackOutputs(ValueVector outputs)
If there is only one value in \p OUTPUTS and its kind is Tuple, insert a
tuple unpack node and return the resulting values.
|
Modifier and Type | Method and Description |
---|---|
static ValueVector |
torch.insertGraph(Graph g,
Graph callee,
ValueVector inputs) |
static ValueVector |
torch.insertGraph(Graph g,
Graph callee,
ValueVector inputs,
ValueValueMap value_map) |
static JitNode |
torch.replaceBlockWithFallbackGraph(Block b,
ValueVector inputs) |
static ValueVector |
torch.unpackOutputs(ValueVector outputs)
If there is only one value in \p OUTPUTS and its kind is Tuple, insert a
tuple unpack node and return the resulting values.
|
Copyright © 2024. All rights reserved.