Spaces:
Runtime error
Runtime error
| /** | |
| * Copyright 2017-present, Facebook, Inc. | |
| * All rights reserved. | |
| * | |
| * This source code is licensed under the license found in the | |
| * LICENSE file in the root directory of this source tree. | |
| */ | |
| torch::Tensor LevenshteinDistanceCuda( | |
| torch::Tensor source, | |
| torch::Tensor target, | |
| torch::Tensor source_length, | |
| torch::Tensor target_length); | |
| torch::Tensor GenerateDeletionLabelCuda( | |
| torch::Tensor source, | |
| torch::Tensor operations); | |
| std::pair<torch::Tensor, torch::Tensor> GenerateInsertionLabelCuda( | |
| torch::Tensor source, | |
| torch::Tensor operations); | |