class_docstr: An abstraction to use when building tensor factories.
docstr: Create a constant of this data type using raw `value`.
docstr_tok: ["Create","a","constant","of","this","data","type","using","raw","`","value","`","."]
code: def constant(self, value: np.ndarray):
      """Create a constant of this data type using raw `value`."""
  
imports: import abc
  from typing import Optional
  from typing import Union
  import numpy
  import tensorflow
label_desc: Use image node_id 4 for calling the AbstractFactory obj's underlying member method code with example usage: obj.constant(value) without return types