If you want to convert an existing, legacy CTI or XML input file to the YAML format, this section will help. Cantera comes with a converter utility cti2yaml (or cti2yaml.py) that converts le…
During processing of an input file, errors may be encountered. These could be syntax errors, or could be ones that are flagged as errors by Cantera due to some apparent inconsistency in the …
… and pads to a fixed length. This layer is useful when tokenizing inputs for tasks like translation, where each sequence should include a start and end marker. It should be called after toke…
Packs multiple sequences into a single fixed width model input. This layer packs multiple input sequences into a single fixed width sequence containing start and end delimeters, forming a de…
…aces for use in Cantera simulations. See the Introduction to YAML Input Files for an introduction to the YAML syntax used by Cantera and a description of how dimensional values are handled. …
…parameterization, which is implemented by Cantera. To generate an input file containing thermodynamic data, use the ThermoBuild web interface to select the elements you want to include, and …
Convert raw audio for models that support audio input. This class converts from raw audio tensors of any length, to preprocessed audio for pretrained model inputs. It is meant to be a conven…
…graph-compatible, so you can use it within a tf.data pipeline. If input is a batch of strings (rank > 0): By default, the layer will output a tf.RaggedTensor where the last dimension of the …
Input content, AI automatically generates professional interview-style podcast dialogues AI automatically generates natural interview dialogues between host and guest, with high-quality voic…
Augments input by randomly swapping words. This layer comes in handy when you need to generate new data using swap augmentations as described in the paper [EDA: Easy Data Augmentation Techni…