parameters: (tensor, ctx)
return_statement: return result
docstring: Eager-only version of Identity op; requires tensor is an eager Tensor.
docstring_summary: Eager-only version of Identity op; requires tensor is an eager Tensor.
docstring_tokens: Eager - only version of Identity op ; requires tensor is an eager Tensor .
function: def _eager_identity(tensor, ctx):
    """Eager-only version of Identity op; requires tensor is an eager Tensor."""
    attrs = ("T", tensor.dtype.as_datatype_enum)
    result, = execute.execute(
        b"Identity", 1, inputs=[tensor], attrs=attrs, ctx=ctx)
    return result
function_tokens: def _eager_identity ( tensor , ctx ) : attrs = ( "T" , tensor . dtype . as_datatype_enum ) result , = execute . execute ( b"Identity" , 1 , inputs = [ tensor ] , attrs = attrs , ctx = ctx ) return result