We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b559b04 commit 486447dCopy full SHA for 486447d
examples/regression_savedmodel.rs
@@ -10,10 +10,6 @@ use tensorflow::SessionRunArgs;
10
use tensorflow::Status;
11
use tensorflow::Tensor;
12
13
-#[cfg_attr(feature = "examples_system_alloc", global_allocator)]
14
-#[cfg(feature = "examples_system_alloc")]
15
-static ALLOCATOR: std::alloc::System = std::alloc::System;
16
-
17
fn main() -> Result<(), Box<dyn Error>> {
18
let export_dir = "examples/regression_savedmodel"; // y = w * x + b
19
if !Path::new(export_dir).exists() {
0 commit comments