Skip to content

Commit d3a0090

Browse files
authored
Merge pull request tensorflow#220 from adamcrume/master
Rename the tensorflow-macros crate to tensorflow-internal-macros
2 parents b49a768 + bd8f06d commit d3a0090

File tree

8 files changed

+10
-8
lines changed

8 files changed

+10
-8
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ edition = "2018"
1414
libc = "0.2.43"
1515
aligned_alloc = "0.1.3"
1616
num-complex = { version = "0.2.1", default-features = false }
17-
tensorflow-macros = { version = "0.0.1", path = "tensorflow-macros" }
17+
tensorflow-internal-macros = { version = "=0.0.1", path = "tensorflow-internal-macros" }
1818
tensorflow-sys = { version = "0.17.0", path = "tensorflow-sys" }
1919
byteorder = "1.2.7"
2020
crc = "1.8.1"

src/ops.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
//! mat_mul(a, b, &mut scope)
1616
//! ```
1717
18-
use tensorflow_macros::define_op;
18+
use tensorflow_internal_macros::define_op;
1919

2020
mod array_ops;
2121
pub use array_ops::*;

src/ops/array_ops.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
use tensorflow_macros::define_op;
1+
use tensorflow_internal_macros::define_op;
22

33
define_op!(zeros_like, ZerosLike, "ZerosLike", args { x });

src/ops/math_ops.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use crate::Result;
44
use crate::Scope;
55
use crate::Tensor;
66
use crate::TensorType;
7-
use tensorflow_macros::define_op;
7+
use tensorflow_internal_macros::define_op;
88

99
define_op!(add, Add, "Add", args { a, b });
1010

src/ops/random_ops.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
use crate::DataType;
2-
use tensorflow_macros::define_op;
2+
use tensorflow_internal_macros::define_op;
33

44
define_op!(random_normal, RandomNormal, "RandomStandardNormal", args{x}, attrs {
55
dtype: DataType => "dtype",

src/ops/state_ops.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ use crate::Scope;
66
use crate::Shape;
77
use crate::Tensor;
88
use crate::TensorType;
9-
use tensorflow_macros::define_op;
9+
use tensorflow_internal_macros::define_op;
1010

1111
define_op!(assign, Assign, "Assign", args { a, b });
1212

tensorflow-macros/Cargo.toml renamed to tensorflow-internal-macros/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[package]
2-
name = "tensorflow-macros"
2+
name = "tensorflow-internal-macros"
33
version = "0.0.1"
44
license = "Apache-2.0"
55
authors = [
66
"Adam Crume <[email protected]>",
77
]
8-
description = "The package provides macros for internal usage in TensorFlow."
8+
description = "The package provides macros for internal usage in TensorFlow. No backwards compatibility guarantees are made."
99
documentation = "https://tensorflow.github.io/rust"
1010
homepage = "https://github.com/tensorflow/rust"
1111
repository = "https://github.com/tensorflow/rust"

tensorflow-macros/src/lib.rs renamed to tensorflow-internal-macros/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#![recursion_limit = "128"]
2+
//! The package provides macros for internal usage in TensorFlow. No backwards
3+
//! compatibility guarantees are made.
24
35
extern crate proc_macro;
46

0 commit comments

Comments
 (0)