Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python how to compress pytorch model

torch.save(model.half(), './model.pt')
 
PREVIOUS NEXT
Tagged: #python #compress #pytorch #model
ADD COMMENT
Topic
Name
4+2 =