| Package | Description |
|---|---|
| org.bytedeco.tvm | |
| org.bytedeco.tvm.global |
| Modifier and Type | Class and Description |
|---|---|
class |
SeekStream
\brief interface of i/o stream that support seek
|
| Modifier and Type | Method and Description |
|---|---|
Stream |
FileSystem.Open(URI path,
BytePointer flag) |
Stream |
FileSystem.Open(URI path,
BytePointer flag,
boolean allow_null)
\brief open a stream
|
Stream |
FileSystem.Open(URI path,
String flag) |
Stream |
FileSystem.Open(URI path,
String flag,
boolean allow_null) |
| Modifier and Type | Method and Description |
|---|---|
void |
Serializable.Load(Stream fi)
\brief load the model from a stream
|
boolean |
NDArray.Load(Stream stream)
\brief Load NDArray from stream
|
static boolean |
Handler.Read(Stream strm,
DLDataType dtype) |
void |
Serializable.Save(Stream fo)
\brief saves the model to a stream
|
void |
NDArray.Save(Stream stream)
\brief Save NDArray to stream
|
void |
ModuleNode.SaveToBinary(Stream stream)
\brief Save the module to binary stream.
|
void |
ostream.set_stream(Stream stream)
\brief set internal stream to be stream, reset states
|
void |
istream.set_stream(Stream stream)
\brief set internal stream to be stream, reset states
|
static void |
Handler.Write(Stream strm,
DLDataType dtype) |
| Constructor and Description |
|---|
istream(Stream stream) |
istream(Stream stream,
long buffer_size)
\brief construct std::ostream type
|
ostream(Stream stream) |
ostream(Stream stream,
long buffer_size)
\brief construct std::ostream type
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
tvm_runtime.SaveDLTensor(Stream strm,
DLTensor tensor)
\brief Save a DLTensor to stream
|
Copyright © 2021. All rights reserved.