7f268a42be1c0b6e59635e6b7ac1ff1605605ff1,kur/loss/ctc.py,Ctc,__init__,#Ctc#Any#Any#Any#Any#Any#,127
Before Change
super().__init__(**kwargs)
if variant not in {None, "warp"}:
raise ValueError("Unsupported CTC variant: {}".format(variant))
self.variant = variant
self.input_length = input_length
self.output_length = output_length
After Change
.format(variant))
for x in variant:
if x not in Ctc.KNOWN_VARIANTS:
logger.warning("Ignoring an unknown variant to the CTC loss "
"function: %s", x)
self.variant = variant
self.input_length = input_length
self.output_length = output_length
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances
Project Name: deepgram/kur
Commit Name: 7f268a42be1c0b6e59635e6b7ac1ff1605605ff1
Time: 2017-04-11
Author: ajsyp@syptech.net
File Name: kur/loss/ctc.py
Class Name: Ctc
Method Name: __init__
Project Name: ray-project/ray
Commit Name: 2cb9cfb2b6b1d2b5a14b543310761d64b76b8508
Time: 2020-04-12
Author: ed.nmi.oakes@gmail.com
File Name: python/ray/serve/http_proxy.py
Class Name: HTTPProxy
Method Name: __call__
Project Name: uber/petastorm
Commit Name: 100f6cbd2f03bbd90d7b6a41cc81f711ed466491
Time: 2018-08-13
Author: robbieg@uber.com
File Name: petastorm/etl/dataset_metadata.py
Class Name:
Method Name: load_row_groups