File tree Expand file tree Collapse file tree 6 files changed +5
-6
lines changed Expand file tree Collapse file tree 6 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 36
36
from absl import app
37
37
from absl .flags import argparse_flags
38
38
import tensorflow as tf
39
- import tensorflow_datasets as tfds
40
39
import tensorflow_compression as tfc
40
+ import tensorflow_datasets as tfds
41
41
42
42
43
43
def read_png (filename ):
Original file line number Diff line number Diff line change 34
34
from absl import app
35
35
from absl .flags import argparse_flags
36
36
import tensorflow as tf
37
- import tensorflow_datasets as tfds
38
37
import tensorflow_compression as tfc
38
+ import tensorflow_datasets as tfds
39
39
40
40
41
41
def read_png (filename ):
Original file line number Diff line number Diff line change 24
24
from compare_gan .architectures import arch_ops
25
25
import numpy as np
26
26
import tensorflow .compat .v1 as tf
27
-
28
27
import tensorflow_compression as tfc
29
28
30
29
from hific .helpers import ModelMode
Original file line number Diff line number Diff line change 35
35
from absl import app
36
36
from absl .flags import argparse_flags
37
37
import tensorflow as tf
38
- import tensorflow_datasets as tfds
39
38
import tensorflow_compression as tfc
39
+ import tensorflow_datasets as tfds
40
40
41
41
42
42
def read_png (filename ):
Original file line number Diff line number Diff line change 3
3
import matplotlib .pyplot as plt
4
4
import numpy as np
5
5
import tensorflow as tf
6
- import tensorflow_probability as tfp
7
6
import tensorflow_compression as tfc
7
+ import tensorflow_probability as tfp
8
8
from toy_sources import compression_model
9
9
10
10
tfpd = tfp .distributions
Original file line number Diff line number Diff line change 58
58
" from absl import logging\n " ,
59
59
" import numpy as np\n " ,
60
60
" import tensorflow as tf\n " ,
61
- " import tensorflow_probability as tfp\n " ,
62
61
" import tensorflow_compression as tfc\n " ,
62
+ " import tensorflow_probability as tfp\n " ,
63
63
" \n " ,
64
64
" tfm = tf.math\n " ,
65
65
" tfkl = tf.keras.layers\n " ,
You can’t perform that action at this time.
0 commit comments