Skip to content

Commit 0557f8b

Browse files
committed
Update protos and ops
1 parent f6cb5bc commit 0557f8b

File tree

10 files changed

+9240
-553
lines changed

10 files changed

+9240
-553
lines changed

src/eager/op/raw_ops.rs

Lines changed: 3291 additions & 0 deletions
Large diffs are not rendered by default.

src/graph.rs

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -167,10 +167,7 @@ impl ImportGraphDefOptions {
167167
/// unique. Defaults to false.
168168
pub fn set_uniquify_names(&mut self, uniquify_names: bool) {
169169
unsafe {
170-
tf::TF_ImportGraphDefOptionsSetUniquifyNames(
171-
self.inner,
172-
u8::from(uniquify_names),
173-
);
170+
tf::TF_ImportGraphDefOptionsSetUniquifyNames(self.inner, u8::from(uniquify_names));
174171
}
175172
}
176173

@@ -179,10 +176,7 @@ impl ImportGraphDefOptions {
179176
/// treated as an error. This option has no effect if no prefix is specified.
180177
pub fn set_uniquify_prefix(&mut self, uniquify_prefix: bool) {
181178
unsafe {
182-
tf::TF_ImportGraphDefOptionsSetUniquifyPrefix(
183-
self.inner,
184-
u8::from(uniquify_prefix),
185-
);
179+
tf::TF_ImportGraphDefOptionsSetUniquifyPrefix(self.inner, u8::from(uniquify_prefix));
186180
}
187181
}
188182

0 commit comments

Comments
 (0)