Package | Description |
---|---|
org.bytedeco.pytorch | |
org.bytedeco.pytorch.global |
Constructor and Description |
---|
FunctionSchemaOptional(FunctionSchema value) |
SchemaInfo(FunctionSchema schema) |
Modifier and Type | Method and Description |
---|---|
static FunctionSchema |
torch.make_function_schema(ArgumentDefArrayRef arguments,
ArgumentDefArrayRef returns)
Creates a vector of
ArgumentDef from a list of C++ types that are specified
as a tuple (i.e. |
static FunctionSchema |
torch.parseSchema(BytePointer schema)
|
static FunctionSchema |
torch.parseSchema(String schema) |
static FunctionSchema |
torch.schema(BytePointer s)
Function schemas can be directly constructed from string literals.
|
static FunctionSchema |
torch.schema(BytePointer str,
torch.AliasAnalysisKind k)
\defgroup torch-schema-overloads torch::schema overloads
|
static FunctionSchema |
torch.schema(FunctionSchema s)
\private
Already constructed function schemas are accepted if they are
rvalues.
|
static FunctionSchema |
torch.schema(String s) |
static FunctionSchema |
torch.schema(String str,
byte k) |
Modifier and Type | Method and Description |
---|---|
static BytePointer |
torch.canonicalSchemaString(FunctionSchema schema) |
static void |
torch.deregisterOperator(FunctionSchema schema) |
static boolean |
torch.equals(FunctionSchema lhs,
FunctionSchema rhs) |
static StringOptional |
torch.findSchemaDifferences(FunctionSchema inferred,
FunctionSchema specified)
Creates a
FunctionSchema object from a FunctionTraits type for a
function. |
static BytePointer |
torch.getFullSchemaName(FunctionSchema schema) |
static boolean |
torch.isBlockListedSchema(FunctionSchema schema) |
static MatchedSchema |
torch.matchSchema(FunctionSchema schema,
SourceRange loc,
Graph graph,
NamedValueArrayRef args,
NamedValueArrayRef kwargs) |
static MatchedSchema |
torch.matchSchema(FunctionSchema schema,
SourceRange loc,
Graph graph,
NamedValueArrayRef args,
NamedValueArrayRef kwargs,
NamedValueOptional self) |
static boolean |
torch.notEquals(FunctionSchema lhs,
FunctionSchema rhs) |
static FunctionSchema |
torch.schema(FunctionSchema s)
\private
Already constructed function schemas are accepted if they are
rvalues.
|
static Pointer |
torch.shiftLeft(Pointer out,
FunctionSchema schema) |
static BytePointer |
torch.toString(FunctionSchema schema) |
Copyright © 2024. All rights reserved.