class_docstr: Interface specification for variable type instances.
  
  A :term:`Type` instance is mainly responsible for two things:
  
  - creating `Variable` instances (conventionally, `__call__` does this), and
  
  - filtering a value assigned to a `Variable` so that the value
    conforms to restrictions imposed by the type (also known as
    casting, this is done by `filter`).
class_docstr_tok: ["Interface","specification","for","variable","type","instances",".","A",":","term",":","`","Type","`","instance","is","mainly","responsible","for","two","things",":","-","creating","`","Variable","`","instances","(","conventionally",",","`","__call__","`","does","this",")",",","and","-","filtering","a","value","assigned","to","a","`","Variable","`","so","that","the","value","conforms","to","restrictions","imposed","by","the","type","(","also","known","as","casting",",","this","is","done","by","`","filter","`",")","."]
docstr: Return a new `Constant` instance of this `Type`.
  
  Parameters
  ----------
  value: array-like
      The constant value.
  name: None or str
      A pretty string for printing and debugging.
docstr_tok: ["Return","a","new","`","Constant","`","instance","of","this","`","Type","`",".","Parameters","--","--","--","--","--","value",":","array-like","The","constant","value",".","name",":","None","or","str","A","pretty","string","for","printing","and","debugging","."]
code: def make_constant(
      self, value: D, name: Optional[str] = None
  ) -> constant_type:
      """Return a new `Constant` instance of this `Type`.
  
      Parameters
      ----------
      value: array-like
          The constant value.
      name: None or str
          A pretty string for printing and debugging.
  
      """
      return self.constant_type(type=self, data=value, name=name)
  
imports: from abc import abstractmethod
  from typing import Any, Generic, Optional, TypeVar, Union
  from typing_extensions import TypeAlias
  from pytensor.graph import utils
  from pytensor.graph.basic import Constant, Variable
  from pytensor.graph.utils import MetaObject
label_desc: Use image node_id 9 for calling the Type obj's underlying member method code with example usage: obj.make_constant(value, name) and returns: self