Shortcuts

flash.core.data.transforms.merge_transforms

flash.core.data.transforms.merge_transforms(base_transforms, additional_transforms)[source]

Utility function to merge two transform dictionaries. For each hook, the additional_transforms will be be called after the base_transforms.

Parameters
  • base_transforms (Dict[str, Callable]) – The base transforms dictionary.

  • additional_transforms (Dict[str, Callable]) – The dictionary of additional transforms to be appended to the base_transforms.

Return type

Dict[str, Callable]

Returns

The new dictionary of transforms.

Read the Docs v: stable
Versions
latest
stable
0.6.0
0.5.2
0.5.1
0.5.0
0.4.0
0.3.2
0.3.1
0.3.0
0.2.3
0.2.2
0.2.1
0.2.0
0.1.0post1
docs-fix_typing
Downloads
pdf
html
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.