Structs§
- Experiment
Info - Note: needs to be Copy due to wasmtime constraints.
- Experiment
Info Bits bytemuck-generated type for internal purposes only.- Fixed
Buffer String - A variable length string that can be up to N bytes long.
- Metric
- Poll
Simple - Indicates if a future has been completed. Should be an enum, but kept as a struct for symmetry with PollVec
- Poll
Simple Bits bytemuck-generated type for internal purposes only.- PollVec
- Indicates if a future that outputs a
Vec<T>has been completed. Should be an enum, but the ffi macros don’t support that - Poll
VecBits bytemuck-generated type for internal purposes only.
Enums§
- Episode
State - Experiment
Status - Snapshot
Format - Type used to describe a data object created using either
create_dataor by the host.
Statics§
- API
- FFI API
Functions§
- can_
connect_ to_ hive - Ok(true) if we can connect to hive.
- download_
metrics - Downloads metrics asynchronously
- download_
snapshot - Retrieves a trained snapshot.
- drop_
future - Drops a future handle.
- experiment_
action_ count - Number of actions that an experiment outputs
- experiment_
feature_ count - Number of features that an experiment takes as input
- list_
experiments - Lists all experiments on the machine learning server.
- ml__
can_ ⚠connect_ to_ hive - Ok(true) if we can connect to hive.
- ml__
download_ ⚠metrics - Downloads metrics asynchronously
- ml__
download_ ⚠snapshot - Retrieves a trained snapshot.
- ml__
drop_ ⚠future - Drops a future handle.
- ml__
experiment_ ⚠action_ count - Number of actions that an experiment outputs
- ml__
experiment_ ⚠feature_ count - Number of features that an experiment takes as input
- ml__
list_ ⚠experiments - Lists all experiments on the machine learning server.
- ml__
onnx_ ⚠to_ cervo - Convert a raw ONNX asset to Cervo format
- ml__
poll_ ⚠future_ bool - Polls a future that outputs a boolean
- ml__
poll_ ⚠future_ training_ handle - ml__
poll_ ⚠future_ vec_ experiment_ info - ml__
poll_ ⚠future_ vec_ metric - ml__
poll_ ⚠future_ vec_ u8 - ml__
push_ ⚠inference_ observation - Pushes an observation into a queue to be used later.
- ml__
push_ ⚠inference_ observation_ with_ metadata - Pushes an observation with metadata into a queue to be used later.
- ml__
push_ ⚠training_ observation - Pushes an observation into a queue to be used later.
- ml__
push_ ⚠training_ observation_ with_ metadata - Pushes an observation with metadata into a queue to be used later.
- ml__
start_ ⚠inference - ml__
start_ ⚠training - Starts training.
- ml__
start_ ⚠training_ from_ checkpoint - Starts training from a checkpoint.
- ml__
stop_ ⚠inference - ml__
stop_ ⚠training - Stops training with a given handle and destroys it.
- ml__
submit_ ⚠inference_ observations - Submits observations previously pushed using
push_inference_observation.out_actionsshould be a slice with lengthnum_actions * observation count.out_valuesshould be a slice with lengthobservation count. - ml__
submit_ ⚠training_ augmented_ observations - Submits observations previously pushed using
push_training_observationas augmented observations. - ml__
submit_ ⚠training_ demonstration_ observations - Submits observations previously pushed using
push_training_observationas demonstration observations. - ml__
submit_ ⚠training_ observations - Submits observations previously pushed using
push_training_observation.out_actionsshould be a slice with lengthnum_actions * observation count.out_valuesshould be a slice with lengthobservation count. - ml__
take_ ⚠future_ bool - Transfers the data of a completed future to the module side.
- ml__
take_ ⚠future_ training_ handle - ml__
take_ ⚠future_ vec_ experiment_ info - ml__
take_ ⚠future_ vec_ metric - ml__
take_ ⚠future_ vec_ u8 - onnx_
to_ cervo - Convert a raw ONNX asset to Cervo format
- poll_
future_ bool - Polls a future that outputs a boolean
- poll_
future_ training_ handle - poll_
future_ vec_ experiment_ info - poll_
future_ vec_ metric - poll_
future_ vec_ u8 - push_
inference_ observation - Pushes an observation into a queue to be used later.
- push_
inference_ observation_ with_ metadata - Pushes an observation with metadata into a queue to be used later.
- push_
training_ observation - Pushes an observation into a queue to be used later.
- push_
training_ observation_ with_ metadata - Pushes an observation with metadata into a queue to be used later.
- start_
inference - start_
training - Starts training.
- start_
training_ from_ checkpoint - Starts training from a checkpoint.
- stop_
inference - stop_
training - Stops training with a given handle and destroys it.
- submit_
inference_ observations - Submits observations previously pushed using
push_inference_observation.out_actionsshould be a slice with lengthnum_actions * observation count.out_valuesshould be a slice with lengthobservation count. - submit_
training_ augmented_ observations - Submits observations previously pushed using
push_training_observationas augmented observations. - submit_
training_ demonstration_ observations - Submits observations previously pushed using
push_training_observationas demonstration observations. - submit_
training_ observations - Submits observations previously pushed using
push_training_observation.out_actionsshould be a slice with lengthnum_actions * observation count.out_valuesshould be a slice with lengthobservation count. - take_
future_ bool - Transfers the data of a completed future to the module side.
- take_
future_ training_ handle - take_
future_ vec_ experiment_ info - take_
future_ vec_ metric - take_
future_ vec_ u8
Type Aliases§
- Future
Handle - A handle to a future on the engine-side.
- Inference
Handle - Training
Handle