MCPcopy Create free account
hub / github.com/NVIDIA/FasterTransformer / __init__

Method __init__

examples/pytorch/t5/mnli_task_example.py:109–111  ·  view source on GitHub ↗
(self, input_ids, attention_mask)

Source from the content-addressed store, hash-verified

107
108class InputToken:
109 def __init__(self, input_ids, attention_mask):
110 self.input_ids = input_ids
111 self.attention_mask = attention_mask
112
113
114class EncoderDecoderConfig:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected