View source on GitHub
|
Constructs a DataDescriptor instance targeting a tff.DataBackend.
tff.framework.CreateDataDescriptor(
arg_uris: list[str],
arg_type: tff.types.Type
)
Args | |
|---|---|
arg_uris
|
List of URIs compatible with the data backend embedded in the
given tff.framework.SyncExecutionContext.
|
arg_type
|
The type of data referenced by the URIs. An instance of
tff.Type.
|
Returns | |
|---|---|
Instance of DataDescriptor
|
View source on GitHub