Searched refs:target_structure (Results 1 – 1 of 1) sorted by relevance
1064 def broadcast_sample_weight_modes(target_structure, sample_weight_modes): argument1066 if target_structure is None or not nest.flatten(target_structure):1070 if isinstance(target_structure, dict):1071 return {key: sample_weight_modes for key in target_structure.keys()}1072 return [sample_weight_modes for _ in target_structure]1077 training_utils.list_to_tuple(target_structure),1080 target_str = str(nest.map_structure(lambda _: "...", target_structure))1088 target_structure, nest.flatten(sample_weight_modes))