Go to the source code of this file.
|
| void | Moose::to_json (nlohmann::json &json, const Moose::LibtorchActorNeuralNet *const &network) |
| | Dump an actor network into JSON for reporter output and debugging.
|
| |
| void | Moose::loadLibtorchActorNeuralNetState (Moose::LibtorchActorNeuralNet &nn, const std::string &filename) |
| | Load an actor checkpoint written as a native libtorch state archive.
|
| |
| template<> |
| void | dataStore< Moose::LibtorchActorNeuralNet > (std::ostream &stream, std::shared_ptr< Moose::LibtorchActorNeuralNet > &nn, void *context) |
| | Serialize the actor-network metadata needed for restart.
|
| |
| template<> |
| void | dataLoad< Moose::LibtorchActorNeuralNet > (std::istream &stream, std::shared_ptr< Moose::LibtorchActorNeuralNet > &nn, void *context) |
| | Deserialize the actor-network metadata needed for restart.
|
| |
| template<> |
| void | dataStore< Moose::LibtorchActorNeuralNet const > (std::ostream &stream, Moose::LibtorchActorNeuralNet const *&nn, void *context) |
| | Placeholder serializer for reporter-only actor pointers.
|
| |
| template<> |
| void | dataLoad< Moose::LibtorchActorNeuralNet const > (std::istream &stream, Moose::LibtorchActorNeuralNet const *&nn, void *context) |
| | Placeholder deserializer for reporter-only actor pointers.
|
| |
◆ dataLoad< Moose::LibtorchActorNeuralNet >()
Deserialize the actor-network metadata needed for restart.
- Parameters
-
| stream | Stream that provides the serialized data. |
| nn | Actor network shared pointer to populate. |
| context | Serialization context passed through MOOSE data I/O. |
◆ dataLoad< Moose::LibtorchActorNeuralNet const >()
Placeholder deserializer for reporter-only actor pointers.
- Parameters
-
| stream | Stream that would provide the serialized data. |
| nn | Reporter actor pointer. |
| context | Serialization context passed through MOOSE data I/O. |
◆ dataStore< Moose::LibtorchActorNeuralNet >()
Serialize the actor-network metadata needed for restart.
- Parameters
-
| stream | Stream that receives the serialized data. |
| nn | Actor network shared pointer to serialize. |
| context | Serialization context passed through MOOSE data I/O. |
◆ dataStore< Moose::LibtorchActorNeuralNet const >()
Placeholder serializer for reporter-only actor pointers.
- Parameters
-
| stream | Stream that would receive the serialized data. |
| nn | Reporter actor pointer. |
| context | Serialization context passed through MOOSE data I/O. |