code: def _batch_multiply_tensor_by_vector(vector, batch_tensor):
      """Equivalent to the following
      for ii in range(len(vector)):
          batch_tensor.data[ii] *= vector[ii]
      return batch_tensor
      """
      return (
          (batch_tensor.transpose(0, -1) * vector)
          .transpose(0, -1)
          .contiguous()
      )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from __future__ import unicode_literals
  import torch
  import torch.nn
  import torch.nn.functional
label_desc: Use image node_id 12 for calling a global function with example usage: _batch_multiply_tensor_by_vector(vector, batch_tensor) and returns: unknown