class mindietorch.Input
类说明
成员变量
class CompileMode(Enum)
def __init__(self, *args, **kwargs)
def __str__(self) -> str
def parse_input_dtype(input_dtype: Any) -> _enums.dtype
def get_input_from_tensor(cls, input_tensor: torch.Tensor) -> "Input"
def get_torch_tensor(self, mode="max_shape", device="cpu")
def parse_dtype_to_mindiert_dtype(self) -> DataType
def parse_dtype_to_torch_dtype(self) -> torch.dtype
父主题:
类参考