Tony
Tony
MModular
Created by Tony on 11/5/2024 in #questions
TorchInputSpec
@kapa.ai where can i find TorchInputSpec
2 replies
MModular
Created by Tony on 11/4/2024 in #questions
anyone know why I might be this error about TorchInputSpec:
use of unknown declaration 'TorchInputSpec'mojo from: var session = engine.InferenceSession() var model = session.load( model_path, input_specs = [ engine.TorchInputSpec( shape=[none, 28, 28], dtype=DType.int32 ), ], ) I've got all the necessary imports, the ai bot is flummoxed
7 replies