@@ -32,18 +32,52 @@ package(
32
32
multi_substrate_py_library (
33
33
name = "linalg" ,
34
34
srcs = ["__init__.py" ],
35
+ numpy_omit_deps = [
36
+ ":linear_operator_interpolated_psd_kernel" ,
37
+ ],
35
38
substrates_omit_deps = [
36
39
":linear_operator_psd_kernel" ,
37
40
":no_pivot_ldl" ,
38
41
],
39
42
deps = [
43
+ ":linear_operator_interpolated_psd_kernel" ,
40
44
":linear_operator_psd_kernel" ,
41
45
":linear_operator_unitary" ,
42
46
":no_pivot_ldl" ,
43
47
"//tensorflow_probability/python/internal:all_util" ,
44
48
],
45
49
)
46
50
51
+ multi_substrate_py_library (
52
+ name = "linear_operator_interpolated_psd_kernel" ,
53
+ srcs = ["linear_operator_interpolated_psd_kernel.py" ],
54
+ deps = [
55
+ # numpy dep,
56
+ # tensorflow dep,
57
+ "//tensorflow_probability/python/internal:distribution_util" ,
58
+ "//tensorflow_probability/python/internal:dtype_util" ,
59
+ "//tensorflow_probability/python/internal:prefer_static" ,
60
+ "//tensorflow_probability/python/internal:tensor_util" ,
61
+ "//tensorflow_probability/python/math:gradient" ,
62
+ "//tensorflow_probability/python/math:interpolation" ,
63
+ ],
64
+ )
65
+
66
+ multi_substrate_py_test (
67
+ name = "linear_operator_interpolated_psd_kernel_test" ,
68
+ size = "large" ,
69
+ srcs = ["linear_operator_interpolated_psd_kernel_test.py" ],
70
+ disabled_substrates = ["numpy" ],
71
+ shard_count = 8 ,
72
+ deps = [
73
+ # numpy dep,
74
+ # tensorflow dep,
75
+ "//tensorflow_probability" ,
76
+ "//tensorflow_probability/python/internal:test_util" ,
77
+ # tensorflow/compiler/jit dep,
78
+ ],
79
+ )
80
+
47
81
py_library (
48
82
name = "linear_operator_psd_kernel" ,
49
83
srcs = ["linear_operator_psd_kernel.py" ],
0 commit comments