For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /max/get-started.md).
Python function
msgpack_numpy_oob_decoder
msgpack_numpy_oob_decoder()โ
max.pipelines.modeling.types.msgpack_numpy_oob_decoder(type_, copy=False)
Create an out-of-band (zero-copy) msgpack decoder for the given type.
-
Parameters:
-
- type โ The type to decode into.
- copy (bool) โ Copy numpy arrays out of their frames if true. Defaults to False
(zero-copy views; see
msgpack_numpy_decoder()for the rationale behind defaulting to no-copy at this boundary). - type_ (Any)
-
Returns:
-
A pickleable decoder whose
__call__takes a list of received frames (see_MsgpackNumpyOOBDecoder). -
Return type:
-
_MsgpackNumpyOOBDecoder
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!