mizchi/webnn/shape does not have a README file
pub suberror ShapeError {
ShapeError(String)
}pub struct Conv2dOptions {
padding_ : Array[Int]
strides_ : Array[Int]
dilations_ : Array[Int]
groups_ : Int
input_layout_ : InputLayout
filter_layout_ : Conv2dFilterLayout
}fn Conv2dOptions::new(padding : Array[Int], strides : Array[Int], dilations : Array[Int], groups : Int) -> Conv2dOptions raise ShapeErrorfn Conv2dOptions::new_with_layout(padding : Array[Int], strides : Array[Int], dilations : Array[Int], groups : Int, input_layout : InputLayout, filter_layout : Conv2dFilterLayout) -> Conv2dOptions raise ShapeErrorpub struct Pool2dOptions {
window_dimensions_ : Array[Int]
padding_ : Array[Int]
strides_ : Array[Int]
dilations_ : Array[Int]
input_layout_ : InputLayout
}fn Pool2dOptions::new(window_dimensions : Array[Int], padding : Array[Int], strides : Array[Int], dilations : Array[Int]) -> Pool2dOptions raise ShapeErrorfn Pool2dOptions::new_with_layout(window_dimensions : Array[Int], padding : Array[Int], strides : Array[Int], dilations : Array[Int], input_layout : InputLayout) -> Pool2dOptions raise ShapeErrorfn Shape::conv2d_nchw_oihw(input : Shape, filter : Shape, options : Conv2dOptions) -> Shape raise ShapeErrorWebNN backend and TFLite inference runtime for MoonBit
Dependencies