class_docstr: Class and member functions for singa::Snapshot.
  
      
docstr: Call Write method to write a parameter
  
  Args:
      param_name (string): name of the parameter
      param_val (Tensor): value tensor of the parameter
docstr_tok: ["Call","Write","method","to","write","a","parameter","Args",":","param_name","(","string",")",":","name","of","the","parameter","param_val","(","Tensor",")",":","value","tensor","of","the","parameter"]
code: def write(self, param_name, param_val):
      """Call Write method to write a parameter
  
      Args:
          param_name (string): name of the parameter
          param_val (Tensor): value tensor of the parameter
      """
      self.snapshot.Write(param_name.encode(), param_val.data)
  
file_path: singa/python/singa/snapshot.py
imports: from __future__ import absolute_import
  from builtins import object
  from .None import singa_wrap
  from .None import tensor
label_desc: Use image node_id 2 for calling the Snapshot obj's underlying member method code with example usage: obj.write(param_name, param_val) without return types