Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -231,17 +231,17 @@ def get_clustering_impl(cls, layer, weight_name):
"""
if not layer.__class__ in cls._LAYERS_RESHAPE_MAP:
raise ValueError(
"Class {given_class} has not been registerd in the"
"Class {given_class} has not been registered in the "
"ClusteringLookupRegistry. Use ClusteringLookupRegistry."
"register_new_implemenetation to fix this.".format(
"register_new_implementation to fix this.".format(
given_class=layer.__class__
)
)
if weight_name not in cls._LAYERS_RESHAPE_MAP[layer.__class__]:
raise ValueError(
"Weight with the name '{given_weight_name}' for class {given_class} "
"has not been registerd in the ClusteringLookupRegistry. Use "
"ClusteringLookupRegistry.register_new_implemenetation "
"has not been registered in the ClusteringLookupRegistry. Use "
"ClusteringLookupRegistry.register_new_implementation "
"to fix this.".format(
given_class=layer.__class__,
given_weight_name=weight_name
Expand Down