@@ -143,15 +143,16 @@ def __call__(self, **kwargs):
143
143
return None
144
144
145
145
146
+ TauCategoricalCrossentropyLoss = TauCrossEntropyLoss
147
+ TauSparseCategoricalCrossentropyLoss = TauCrossEntropyLoss
148
+ TauBinaryCrossentropyLoss = TauBCEWithLogitsLoss
149
+
146
150
tInput = module_Unavailable_foo
147
151
AutoWeightClipConstraint = module_Unavailable_class
148
152
SpectralConstraint = module_Unavailable_class
149
153
FrobeniusConstraint = module_Unavailable_class
150
154
CondenseCallback = module_Unavailable_class
151
155
MonitorCallback = module_Unavailable_class
152
- TauCategoricalCrossentropyLoss = TauCrossEntropyLoss
153
- TauSparseCategoricalCrossentropyLoss = TauCrossEntropyLoss
154
- TauBinaryCrossentropyLoss = TauBCEWithLogitsLoss
155
156
CategoricalProvableRobustAccuracy = module_Unavailable_class
156
157
BinaryProvableRobustAccuracy = module_Unavailable_class
157
158
CategoricalProvableAvgRobustness = module_Unavailable_class
@@ -236,35 +237,31 @@ def get_instance_withcheck(
236
237
get_instance_withreplacement , dict_keys_replace = {"data_format" : None }
237
238
),
238
239
KRLoss : partial (
239
- get_instance_withcheck ,
240
+ get_instance_withreplacement ,
240
241
dict_keys_replace = {"name" : None },
241
- list_keys_notimplemented = [],
242
242
),
243
- HingeMarginLoss : partial (get_instance_withcheck , dict_keys_replace = {"name" : None }),
243
+ HingeMarginLoss : partial (
244
+ get_instance_withreplacement , dict_keys_replace = {"name" : None }
245
+ ),
244
246
HKRLoss : partial (
245
- get_instance_withcheck ,
247
+ get_instance_withreplacement ,
246
248
dict_keys_replace = {"name" : None },
247
- list_keys_notimplemented = [],
248
249
),
249
250
HingeMulticlassLoss : partial (
250
- get_instance_withcheck ,
251
+ get_instance_withreplacement ,
251
252
dict_keys_replace = {"name" : None },
252
- list_keys_notimplemented = [],
253
253
),
254
254
HKRMulticlassLoss : partial (
255
- get_instance_withcheck ,
255
+ get_instance_withreplacement ,
256
256
dict_keys_replace = {"name" : None },
257
- list_keys_notimplemented = [],
258
257
),
259
258
KRMulticlassLoss : partial (
260
- get_instance_withcheck ,
259
+ get_instance_withreplacement ,
261
260
dict_keys_replace = {"name" : None },
262
- list_keys_notimplemented = [],
263
261
),
264
262
SoftHKRMulticlassLoss : partial (
265
- get_instance_withcheck ,
263
+ get_instance_withreplacement ,
266
264
dict_keys_replace = {"name" : None },
267
- list_keys_notimplemented = [],
268
265
),
269
266
tLinear : partial (
270
267
get_instance_withcheck ,
0 commit comments