parameters: (src, dst)
return_statement: return dst
docstring: zero out entries in dst.data that are zeros in src tensor
docstring_summary: zero out entries in dst.data that are zeros in src tensor
docstring_tokens: zero out entries in dst . data that are zeros in src tensor
function: def copySupport(src, dst):
      '''
      zero out entries in dst.data that are zeros in src tensor
      '''
      zeroSupport = (src.view(-1) == 0.0).nonzero()
      dst = dst.reshape(-1)
      dst[zeroSupport] = 0
      dst = dst.reshape(src.shape)
      del zeroSupport
      return dst
function_tokens: def copySupport ( src , dst ) : zeroSupport = ( src . view ( - 1 ) == 0.0 ) . nonzero ( ) dst = dst . reshape ( - 1 ) dst [ zeroSupport ] = 0 dst = dst . reshape ( src . shape ) del zeroSupport return dst