Skip to content

v0.4.0

Latest
Compare
Choose a tag to compare
@Tommy-Sand Tommy-Sand released this 22 Sep 15:22
· 14 commits to main since this release
b96510a
  • NNContext has been changed to Context
  • Context now has an owned parameter. Additionally most functions no longer return deepviewrt-rs structs but instead references to those structs with the wrapped struct being held by the parent. (Context::tensor() is an exception)

This is a list of new functions
Context
sizeof
new
engine
model
load_model
unload_model
tensor
tensor_index
unsafe from_ptr
drop

Engine
to_ptr
to_ptr_mut

Model
name
label_count
label
outputs
layer_count
layer_name
layer_lookup

Tensor
set_tensor_type
engine
dims
axis
zeros
set_scales
unmap is now unsafe