original_docstring: r"""This is the slowpath function for Eager mode.
    This is for function stateful_partitioned_call
    
docstring: r"""This is the slowpath function for Eager mode.
  This is for function stateful_partitioned_call
docstring_tokens: r " " " This is the slowpath function for Eager mode . This is for function stateful_partitioned_call
code: def stateful_partitioned_call_eager_fallback(args, Tout, f, config="", config_proto="", executor_type="", name=None, ctx=None):
    r"""This is the slowpath function for Eager mode.
    This is for function stateful_partitioned_call
    """
    _ctx = ctx if ctx else _context.context()
    if not isinstance(Tout, (list, tuple)):
      raise TypeError(
          "Expected list for 'Tout' argument to "
          "'stateful_partitioned_call' Op, not %r." % Tout)
    Tout = [_execute.make_type(_t, "Tout") for _t in Tout]
    if config is None:
      config = ""
    config = _execute.make_str(config, "config")
    if config_proto is None:
      config_proto = ""
    config_proto = _execute.make_str(config_proto, "config_proto")
    if executor_type is None:
      executor_type = ""
    executor_type = _execute.make_str(executor_type, "executor_type")
    _attr_Tin, args = _execute.convert_to_mixed_eager_tensors(args, _ctx)
    _inputs_flat = list(args)
    _attrs = ("Tin", _attr_Tin, "Tout", Tout, "f", f, "config", config,
    "config_proto", config_proto, "executor_type", executor_type)
    _result = _execute.execute(b"StatefulPartitionedCall", len(Tout),
                               inputs=_inputs_flat, attrs=_attrs, ctx=_ctx,
                               name=name)
    _execute.record_gradient(
        "StatefulPartitionedCall", _inputs_flat, _attrs, _result, name)
    return _result
code_tokens: def stateful_partitioned_call_eager_fallback ( args , Tout , f , config = "" , config_proto = "" , executor_type = "" , name = None , ctx = None ) : _ctx = ctx if ctx else _context . context ( ) if not isinstance ( Tout , ( list , tuple ) ) : raise TypeError ( "Expected list for 'Tout' argument to " "'stateful_partitioned_call' Op, not %r." % Tout ) Tout = [ _execute . make_type ( _t , "Tout" ) for _t in Tout ] if config is None : config = "" config = _execute . make_str ( config , "config" ) if config_proto is None : config_proto = "" config_proto = _execute . make_str ( config_proto , "config_proto" ) if executor_type is None : executor_type = "" executor_type = _execute . make_str ( executor_type , "executor_type" ) _attr_Tin , args = _execute . convert_to_mixed_eager_tensors ( args , _ctx ) _inputs_flat = list ( args ) _attrs = ( "Tin" , _attr_Tin , "Tout" , Tout , "f" , f , "config" , config , "config_proto" , config_proto , "executor_type" , executor_type ) _result = _execute . execute ( b"StatefulPartitionedCall" , len ( Tout ) , inputs = _inputs_flat , attrs = _attrs , ctx = _ctx , name = name ) _execute . record_gradient ( "StatefulPartitionedCall" , _inputs_flat , _attrs , _result , name ) return _result
short_docstring: r"""This is the slowpath function for Eager mode.
short_docstring_tokens: r " " " This is the slowpath function for Eager mode .
comment: r"""This is the slowpath function for Eager mode.
    This is for function stateful_partitioned_call
    """