1#ifndef INFINI_OPS_BASE_MATMUL_H_
2#define INFINI_OPS_BASE_MATMUL_H_
21 assert(input.dtype() == other.dtype() &&
22 "operator `Matmul` requires inputs to have the same dtype");
23 assert(input.dtype() == out.dtype() &&
24 "operator `Matmul` requires output to have the input dtype");
Tensor::Strides other_strides_
Definition matmul.h:39
DataType out_type_
Definition matmul.h:47
DataType other_type_
Definition matmul.h:41
Tensor::Strides out_strides_
Definition matmul.h:45
DataType input_type_
Definition matmul.h:35
Matmul(const Tensor input, const Tensor other, Tensor out)
Definition matmul.h:11
Tensor::Strides input_strides_
Definition matmul.h:33
Tensor::Shape input_shape_
Definition matmul.h:31
Tensor::Shape other_shape_
Definition matmul.h:37
Tensor::Shape out_shape_
Definition matmul.h:43
virtual void operator()(const Tensor input, const Tensor other, Tensor out) const =0
Definition generated/include/operator.h:282
Definition generated/include/operator.h:28
infini::rt::TensorView Tensor
Definition tensor.h:8