parameters: (self)
return_statement: return NoRestoreSaveable(
          tensor=_constant_state,
          dtype=dtypes.string,
          name=self.name,
          device="cpu:0")
docstring: Create a frozen `SaveableObject` which saves the current state.
docstring_summary: Create a frozen `SaveableObject` which saves the current state.
docstring_tokens: Create a frozen SaveableObject which saves the current state .
function: def freeze(self):
      """Create a frozen `SaveableObject` which saves the current state."""
  
      def _constant_state():
        return constant_op.constant(self._state_callback(), dtype=dtypes.string)
  
      return NoRestoreSaveable(
          tensor=_constant_state,
          dtype=dtypes.string,
          name=self.name,
          device="cpu:0")
function_tokens: def freeze ( self ) : def _constant_state ( ) : return constant_op . constant ( self . _state_callback ( ) , dtype = dtypes . string ) return NoRestoreSaveable ( tensor = _constant_state , dtype = dtypes . string , name = self . name , device = "cpu:0" )