Hi,
Relu
by default allocate new memory for output. You can modify input directly by setting inplace=True
flag. Although, I am not sure this is the only reason or not but for sure Relu
will consume memory.
Bests
Hi,
Relu
by default allocate new memory for output. You can modify input directly by setting inplace=True
flag. Although, I am not sure this is the only reason or not but for sure Relu
will consume memory.
Bests