Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.8/site-packages/tensorflow/python/ops/ragged/ragged_ops.py: 100%

24 statements  

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

1# Copyright 2020 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"""Import all modules in the `ragged` package that define exported symbols. 

16 

17Additional, import ragged_dispatch (which has the side-effect of registering 

18dispatch handlers for many standard TF ops) and ragged_operators (which has the 

19side-effect of overriding RaggedTensor operators, such as RaggedTensor.__add__). 

20 

21We don't import these modules from ragged/__init__.py, since we want to avoid 

22circular dependencies. 

23""" 

24 

25 

26# pylint: disable=unused-import 

27from tensorflow.python.ops.ragged import ragged_array_ops 

28from tensorflow.python.ops.ragged import ragged_batch_gather_ops 

29from tensorflow.python.ops.ragged import ragged_batch_gather_with_default_op 

30from tensorflow.python.ops.ragged import ragged_check_ops 

31from tensorflow.python.ops.ragged import ragged_concat_ops 

32from tensorflow.python.ops.ragged import ragged_conversion_ops 

33from tensorflow.python.ops.ragged import ragged_dispatch 

34from tensorflow.python.ops.ragged import ragged_embedding_ops 

35from tensorflow.python.ops.ragged import ragged_factory_ops 

36from tensorflow.python.ops.ragged import ragged_functional_ops 

37from tensorflow.python.ops.ragged import ragged_gather_ops 

38from tensorflow.python.ops.ragged import ragged_getitem 

39from tensorflow.python.ops.ragged import ragged_image_ops 

40from tensorflow.python.ops.ragged import ragged_map_ops 

41from tensorflow.python.ops.ragged import ragged_math_ops 

42from tensorflow.python.ops.ragged import ragged_operators 

43from tensorflow.python.ops.ragged import ragged_squeeze_op 

44from tensorflow.python.ops.ragged import ragged_string_ops 

45from tensorflow.python.ops.ragged import ragged_tensor 

46from tensorflow.python.ops.ragged import ragged_tensor_shape 

47from tensorflow.python.ops.ragged import ragged_tensor_value 

48from tensorflow.python.ops.ragged import ragged_where_op 

49from tensorflow.python.ops.ragged import segment_id_ops