parameters: (self, shape, dtype, scale=None,
                 verify_pd=True, name="OperatorPDIdentity")
docstring: Initialize an `OperatorPDIdentity`.
  
      Args:
        shape:  `int32` rank 1 `Tensor` of length at least 2, and with the last
          two entries equal (since this is a square matrix).
        dtype:  Data type of the matrix that this operator represents.
        scale: floating point rank 0 `Tensor` representing a scalar to
          multiply the identity matrix by. This will default to a scale of 1.
          This will be converted to the dtype `dtype`.
        verify_pd:  `Boolean`, if `True`, asserts are added to the initialization
          args to ensure they define this operator as a square (batch) matrix.
        name:  Name to prepend to `Ops`.
docstring_summary: Initialize an `OperatorPDIdentity`.
docstring_tokens: Initialize an OperatorPDIdentity .
function: def __init__(self, shape, dtype, scale=None,
                 verify_pd=True, name="OperatorPDIdentity"):
      """Initialize an `OperatorPDIdentity`.
  
      Args:
        shape:  `int32` rank 1 `Tensor` of length at least 2, and with the last
          two entries equal (since this is a square matrix).
        dtype:  Data type of the matrix that this operator represents.
        scale: floating point rank 0 `Tensor` representing a scalar to
          multiply the identity matrix by. This will default to a scale of 1.
          This will be converted to the dtype `dtype`.
        verify_pd:  `Boolean`, if `True`, asserts are added to the initialization
          args to ensure they define this operator as a square (batch) matrix.
        name:  Name to prepend to `Ops`.
      """
  
      # Grab static shape if available now.
      with ops.name_scope(name):
        with ops.name_scope("init", values=[shape, scale]):
          self._dtype = dtypes.as_dtype(dtype)
          self._verify_pd = verify_pd
          self._name = name
  
          # Store the static shape (if possible) right now before adding the
          # asserts, since the asserts prevent .constant_value from working.
          shape = ops.convert_to_tensor(shape, name="shape")
          self._get_shape = tensor_shape.TensorShape(
              tensor_util.constant_value(shape))
          self._shape_arg = self._check_shape(shape)
          self._scale = self._check_scale(scale, self._dtype)
function_tokens: def __init__ ( self , shape , dtype , scale = None , verify_pd = True , name = "OperatorPDIdentity" ) : # Grab static shape if available now. with ops . name_scope ( name ) : with ops . name_scope ( "init" , values = [ shape , scale ] ) : self . _dtype = dtypes . as_dtype ( dtype ) self . _verify_pd = verify_pd self . _name = name # Store the static shape (if possible) right now before adding the # asserts, since the asserts prevent .constant_value from working. shape = ops . convert_to_tensor ( shape , name = "shape" ) self . _get_shape = tensor_shape . TensorShape ( tensor_util . constant_value ( shape ) ) self . _shape_arg = self . _check_shape ( shape ) self . _scale = self . _check_scale ( scale , self . _dtype )