@tracing.trace
async def create_struct(self, elements):
    'Creates a tuple of `elements`.\n\n    Args:\n      elements: As documented in `executor_base.Executor`.\n\n    Returns:\n      An instance of `EagerValue` that represents the constructed tuple.\n    '
    elements = structure.to_elements(structure.from_container(elements))
    val_elements = []
    type_elements = []
    for (k, v) in elements:
        py_typecheck.check_type(v, EagerValue)
        val_elements.append((k, v.internal_representation))
        type_elements.append((k, v.type_signature))
    return EagerValue(structure.Struct(val_elements), self._tf_function_cache, computation_types.StructType([((k, v) if (k is not None) else v) for (k, v) in type_elements]))
Creates a tuple of `elements`.

Args:
  elements: As documented in `executor_base.Executor`.

Returns:
  An instance of `EagerValue` that represents the constructed tuple.
@tracing.trace
async def create_struct(self, elements):
    'Creates a tuple of `elements`.\n\n    Args:\n      elements: As documented in `executor_base.Executor`.\n\n    Returns:\n      An instance of `EagerValue` that represents the constructed tuple.\n    '
    elements = structure.to_elements(structure.from_container(elements))
    val_elements = []
    type_elements = []
    for (k, v) in elements:
        py_typecheck.check_type(v, EagerValue)
        val_elements.append((k, v.internal_representation))
        type_elements.append((k, v.type_signature))
    return EagerValue(structure.Struct(val_elements), self._tf_function_cache, computation_types.StructType([((k, v) if (k is not None) else v) for (k, v) in type_elements]))