Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.8/site-packages/tensorflow_addons/text/__init__.py: 100%

20 statements  

« prev     ^ index     » next       coverage.py v7.4.0, created at 2024-01-03 07:57 +0000

1# Copyright 2019 The TensorFlow Authors. All Rights Reserved. 

2# 

3# Licensed under the Apache License, Version 2.0 (the "License"); 

4# you may not use this file except in compliance with the License. 

5# You may obtain a copy of the License at 

6# 

7# http://www.apache.org/licenses/LICENSE-2.0 

8# 

9# Unless required by applicable law or agreed to in writing, software 

10# distributed under the License is distributed on an "AS IS" BASIS, 

11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 

12# See the License for the specific language governing permissions and 

13# limitations under the License. 

14# ============================================================================== 

15"""Additional text-processing ops.""" 

16 

17# Conditional Random Field 

18from tensorflow_addons.text import crf 

19from tensorflow_addons.text.crf import CrfDecodeForwardRnnCell 

20from tensorflow_addons.text.crf import crf_binary_score 

21from tensorflow_addons.text.crf import crf_constrained_decode 

22from tensorflow_addons.text.crf import crf_decode 

23from tensorflow_addons.text.crf import crf_decode_backward 

24from tensorflow_addons.text.crf import crf_decode_forward 

25from tensorflow_addons.text.crf import crf_filtered_inputs 

26from tensorflow_addons.text.crf import crf_forward 

27from tensorflow_addons.text.crf import crf_log_likelihood 

28from tensorflow_addons.text.crf import crf_log_norm 

29from tensorflow_addons.text.crf import crf_multitag_sequence_score 

30from tensorflow_addons.text.crf import crf_sequence_score 

31from tensorflow_addons.text.crf import crf_unary_score 

32from tensorflow_addons.text.crf import viterbi_decode 

33from tensorflow_addons.text.crf_wrapper import CRFModelWrapper 

34from tensorflow_addons.text.parse_time_op import parse_time 

35 

36# Skip Gram Sampling 

37from tensorflow_addons.text.skip_gram_ops import skip_gram_sample 

38from tensorflow_addons.text.skip_gram_ops import skip_gram_sample_with_text_vocab