README

mizchi/webnn/webnn/raw does not have a README file

#external
pub type ML

#
ML::as_any

fn ML::as_any(self : ML) ->
Any

#
ML::create_context

async fn ML::create_context(self : ML, options :
Any
) -> MLContext

#
MLContext

#external
pub type MLContext

#
MLContext::as_any

#
MLContext::create_tensor

async fn MLContext::create_tensor(self : MLContext, dimensions : Array[Int], writable : Bool, readable : Bool) -> MLTensor

#
MLContext::destroy

fn MLContext::destroy(self : MLContext) -> Unit

#
MLContext::dispatch_many

fn MLContext::dispatch_many(self : MLContext, graph : MLGraph, input_names : Array[String], inputs : Array[MLTensor], output_names : Array[String], outputs : Array[MLTensor]) -> Unit

#
MLContext::dispatch_single

fn MLContext::dispatch_single(self : MLContext, graph : MLGraph, input_name : String, input : MLTensor, output_name : String, output : MLTensor) -> Unit

#
MLContext::has_op_support_limits

fn MLContext::has_op_support_limits(self : MLContext) -> Bool

#
MLContext::has_tensor_io

fn MLContext::has_tensor_io(self : MLContext) -> Bool

#
MLContext::preferred_input_layout

fn MLContext::preferred_input_layout(self : MLContext) -> String

#
MLContext::read_tensor

async fn MLContext::read_tensor(self : MLContext, tensor : MLTensor) -> Array[Float]

#
MLContext::supported_operators

fn MLContext::supported_operators(self : MLContext, candidates : Array[String]) -> Array[String]

#
MLContext::write_tensor

fn MLContext::write_tensor(self : MLContext, tensor : MLTensor, values : Array[Float]) -> Unit

#
MLGraph

#external
pub type MLGraph

#
MLGraph::as_any

fn MLGraph::as_any(self : MLGraph) ->
Any

#
MLGraphBuilder

#external
pub type MLGraphBuilder

#
MLGraphBuilder::add

fn MLGraphBuilder::add(self : MLGraphBuilder, lhs : MLOperand, rhs : MLOperand) -> MLOperand

#
MLGraphBuilder::as_any

#
MLGraphBuilder::average_pool2d

fn MLGraphBuilder::average_pool2d(self : MLGraphBuilder, input : MLOperand, window_dimensions : Array[Int], padding : Array[Int], strides : Array[Int], dilations : Array[Int], layout : String) -> MLOperand

#
MLGraphBuilder::build

async fn MLGraphBuilder::build(self : MLGraphBuilder, output_name : String, output : MLOperand) -> MLGraph

#
MLGraphBuilder::build_many

async fn MLGraphBuilder::build_many(self : MLGraphBuilder, output_names : Array[String], outputs : Array[MLOperand]) -> MLGraph

#
MLGraphBuilder::clamp

fn MLGraphBuilder::clamp(self : MLGraphBuilder, input : MLOperand, minimum : Float, maximum : Float) -> MLOperand

#
MLGraphBuilder::concat

fn MLGraphBuilder::concat(self : MLGraphBuilder, inputs : Array[MLOperand], axis : Int) -> MLOperand

#
MLGraphBuilder::constant_float32

fn MLGraphBuilder::constant_float32(self : MLGraphBuilder, dimensions : Array[Int], values : Array[Float]) -> MLOperand

#
MLGraphBuilder::constant_int32

fn MLGraphBuilder::constant_int32(self : MLGraphBuilder, dimensions : Array[Int], values : Array[Int]) -> MLOperand

#
MLGraphBuilder::conv2d

fn MLGraphBuilder::conv2d(self : MLGraphBuilder, input : MLOperand, filter : MLOperand, padding : Array[Int], strides : Array[Int], dilations : Array[Int], groups : Int, input_layout : String, filter_layout : String) -> MLOperand

#
MLGraphBuilder::div

fn MLGraphBuilder::div(self : MLGraphBuilder, lhs : MLOperand, rhs : MLOperand) -> MLOperand

#
MLGraphBuilder::gather

fn MLGraphBuilder::gather(self : MLGraphBuilder, input : MLOperand, indices : MLOperand, axis : Int) -> MLOperand

#
MLGraphBuilder::gelu

fn MLGraphBuilder::gelu(self : MLGraphBuilder, input : MLOperand) -> MLOperand

#
MLGraphBuilder::input

fn MLGraphBuilder::input(self : MLGraphBuilder, name : String, dimensions : Array[Int]) -> MLOperand

#
MLGraphBuilder::layer_normalization

fn MLGraphBuilder::layer_normalization(self : MLGraphBuilder, input : MLOperand, scale : MLOperand, bias : MLOperand, axes : Array[Int], epsilon : Float) -> MLOperand

#
MLGraphBuilder::matmul

fn MLGraphBuilder::matmul(self : MLGraphBuilder, lhs : MLOperand, rhs : MLOperand) -> MLOperand

#
MLGraphBuilder::max_pool2d

fn MLGraphBuilder::max_pool2d(self : MLGraphBuilder, input : MLOperand, window_dimensions : Array[Int], padding : Array[Int], strides : Array[Int], dilations : Array[Int], layout : String) -> MLOperand

#
MLGraphBuilder::mul

fn MLGraphBuilder::mul(self : MLGraphBuilder, lhs : MLOperand, rhs : MLOperand) -> MLOperand

#
MLGraphBuilder::new

#
MLGraphBuilder::reduce_mean

fn MLGraphBuilder::reduce_mean(self : MLGraphBuilder, input : MLOperand, axes : Array[Int], keep_dimensions : Bool) -> MLOperand

#
MLGraphBuilder::relu

fn MLGraphBuilder::relu(self : MLGraphBuilder, input : MLOperand) -> MLOperand

#
MLGraphBuilder::reshape

fn MLGraphBuilder::reshape(self : MLGraphBuilder, input : MLOperand, dimensions : Array[Int]) -> MLOperand

#
MLGraphBuilder::sigmoid

fn MLGraphBuilder::sigmoid(self : MLGraphBuilder, input : MLOperand) -> MLOperand

#
MLGraphBuilder::slice

fn MLGraphBuilder::slice(self : MLGraphBuilder, input : MLOperand, starts : Array[Int], sizes : Array[Int]) -> MLOperand

#
MLGraphBuilder::softmax

fn MLGraphBuilder::softmax(self : MLGraphBuilder, input : MLOperand, axis : Int) -> MLOperand

#
MLGraphBuilder::sub

fn MLGraphBuilder::sub(self : MLGraphBuilder, lhs : MLOperand, rhs : MLOperand) -> MLOperand

#
MLGraphBuilder::tanh

fn MLGraphBuilder::tanh(self : MLGraphBuilder, input : MLOperand) -> MLOperand

#
MLGraphBuilder::transpose

fn MLGraphBuilder::transpose(self : MLGraphBuilder, input : MLOperand, permutation : Array[Int]) -> MLOperand

#
MLOperand

#external
pub type MLOperand

#
MLOperand::as_any

#
MLTensor

#external
pub type MLTensor

#
MLTensor::as_any

#
MLTensor::destroy

fn MLTensor::destroy(self : MLTensor) -> Unit

#
context_options

fn context_options(accelerated_contract : Bool, device_type : String) ->
Any

#
float32_array

fn float32_array(values : Array[Float]) ->
Any

#
float32_values

fn float32_values(buffer :
Any
) -> Array[Float]

fn ml() -> ML?

#
same_builder

fn same_builder(lhs : MLGraphBuilder, rhs : MLGraphBuilder) -> Bool

#
uses_accelerated_contract

fn uses_accelerated_contract() -> Bool

Source Files

Powered by MoonBit

Site sourceReport issuePackagesBuild queueSkillsStatistics

© 2026 mooncakes.io