Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.8/site-packages/tensorboard/summary/v1.py: 100%

25 statements  

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

1# Copyright 2017 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"""Central API entry point for v1 versions of summary operations. 

16 

17This module simply offers a shorter way to access the members of modules 

18like `tensorboard.plugins.scalar.summary`. 

19""" 

20 

21from tensorboard.plugins.audio import summary as _audio_summary 

22from tensorboard.plugins.custom_scalar import summary as _custom_scalar_summary 

23from tensorboard.plugins.histogram import summary as _histogram_summary 

24from tensorboard.plugins.image import summary as _image_summary 

25from tensorboard.plugins.pr_curve import summary as _pr_curve_summary 

26from tensorboard.plugins.scalar import summary as _scalar_summary 

27from tensorboard.plugins.text import summary as _text_summary 

28 

29 

30audio = _audio_summary.op 

31audio_pb = _audio_summary.pb 

32 

33custom_scalar = _custom_scalar_summary.op 

34custom_scalar_pb = _custom_scalar_summary.pb 

35 

36histogram = _histogram_summary.op 

37histogram_pb = _histogram_summary.pb 

38 

39image = _image_summary.op 

40image_pb = _image_summary.pb 

41 

42pr_curve = _pr_curve_summary.op 

43pr_curve_pb = _pr_curve_summary.pb 

44pr_curve_streaming_op = _pr_curve_summary.streaming_op 

45pr_curve_raw_data_op = _pr_curve_summary.raw_data_op 

46pr_curve_raw_data_pb = _pr_curve_summary.raw_data_pb 

47 

48scalar = _scalar_summary.op 

49scalar_pb = _scalar_summary.pb 

50 

51text = _text_summary.op 

52text_pb = _text_summary.pb