fn build_const_node(id: usize, name: String, tensor: Tensor) -> Node {
    Node {
        id,
        name,
        op_name: "Const".to_string(),
        inputs: vec![],
        op: Box::new(::ops::konst::Const::for_tensor(tensor)),
    }
}
/// Creates a new Const node with the given Tensor value.
Creates a new Const node with the given Tensor value.
Creates a new Const node with the given Tensor value .
fn build_const_node(id: usize, name: String, tensor: Tensor) -> Node {
    Node {
        id,
        name,
        op_name: "Const".to_string(),
        inputs: vec![],
        op: Box::new(::ops::konst::Const::for_tensor(tensor)),
    }
}
fn build_const_node ( id : usize , name : String , tensor : Tensor ) -> Node { Node { id , name , op_name : " " . to_string ( ) , inputs : vec ! [ ] , op : Box :: new ( :: ops :: konst :: Const :: for_tensor ( tensor ) ) , } }
Creates a new Const node with the given Tensor value.
Creates a new Const node with the given Tensor value .
id
usize
name
String
tensor
Tensor