We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01810c5 commit b152712Copy full SHA for b152712
crates/wasi-nn/src/lib.rs
@@ -70,9 +70,9 @@ impl std::ops::Deref for Graph {
70
/// https://github.com/WebAssembly/wasi-nn/pull/70).
71
#[derive(Clone, PartialEq)]
72
pub struct Tensor {
73
- dimensions: Vec<u32>,
74
- ty: wit::TensorType,
75
- data: Vec<u8>,
+ pub dimensions: Vec<u32>,
+ pub ty: wit::TensorType,
+ pub data: Vec<u8>,
76
}
77
impl fmt::Debug for Tensor {
78
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
0 commit comments