Register aux assemblies when they aren't loaded from a zip
This commit is contained in:
@@ -239,7 +239,9 @@ namespace Torch.Managers
|
||||
{
|
||||
var data = new byte[stream.Length];
|
||||
stream.Read(data, 0, data.Length);
|
||||
assemblies.Add(Assembly.Load(data));
|
||||
Assembly asm = Assembly.Load(data);
|
||||
assemblies.Add(asm);
|
||||
TorchBase.RegisterAuxAssembly(asm);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user