Remove dead imports.
This commit is contained in:
parent
51a6cab753
commit
f8ab0d7b2a
@ -1,5 +1,4 @@
|
||||
const std = @import("std");
|
||||
const builtin = @import("builtin");
|
||||
|
||||
const asynk = @import("async");
|
||||
const c = @import("c");
|
||||
|
||||
@ -1,14 +1,10 @@
|
||||
const std = @import("std");
|
||||
const testing = std.testing;
|
||||
|
||||
const asynk = @import("async");
|
||||
const stdx = @import("stdx");
|
||||
|
||||
const Context = @import("context.zig").Context;
|
||||
const Data = @import("dtype.zig").Data;
|
||||
const DataType = @import("dtype.zig").DataType;
|
||||
const HostBuffer = @import("hostbuffer.zig").HostBuffer;
|
||||
const meta = @import("meta.zig");
|
||||
const pjrt = @import("pjrtx.zig");
|
||||
const Platform = @import("platform.zig").Platform;
|
||||
const Shape = @import("shape.zig").Shape;
|
||||
|
||||
@ -7,7 +7,6 @@ const runfiles = @import("runfiles");
|
||||
const runtimes = @import("runtimes");
|
||||
const stdx = @import("stdx");
|
||||
|
||||
const Buffer = @import("buffer.zig").Buffer;
|
||||
const DataType = @import("dtype.zig").DataType;
|
||||
const HostBuffer = @import("hostbuffer.zig").HostBuffer;
|
||||
const pjrt = @import("pjrtx.zig");
|
||||
|
||||
@ -3,9 +3,7 @@ const std = @import("std");
|
||||
|
||||
const meta = @import("meta.zig");
|
||||
const Shape = @import("shape.zig").Shape;
|
||||
const Tensor = @import("tensor.zig").Tensor;
|
||||
|
||||
const EnumLiteral = @TypeOf(.enum_literal);
|
||||
const log = std.log.scoped(.@"zml/tensor");
|
||||
|
||||
test {
|
||||
|
||||
@ -3,7 +3,6 @@ const std = @import("std");
|
||||
const stdx = @import("stdx");
|
||||
|
||||
const Buffer = @import("buffer.zig").Buffer;
|
||||
const Data = @import("dtype.zig").Data;
|
||||
const DataType = @import("dtype.zig").DataType;
|
||||
const floats = @import("floats.zig");
|
||||
const Platform = @import("platform.zig").Platform;
|
||||
|
||||
@ -1,6 +1,5 @@
|
||||
const std = @import("std");
|
||||
const testing = std.testing;
|
||||
const builtin = @import("builtin");
|
||||
|
||||
const stdx = @import("stdx");
|
||||
const FnParam = stdx.meta.FnParam;
|
||||
|
||||
@ -1,17 +1,13 @@
|
||||
const asynk = @import("async");
|
||||
const builtin = @import("builtin");
|
||||
const runtimes = @import("runtimes");
|
||||
const std = @import("std");
|
||||
|
||||
const runtimes = @import("runtimes");
|
||||
pub const Target = runtimes.Platform;
|
||||
const stdx = @import("stdx");
|
||||
|
||||
const meta = @import("meta.zig");
|
||||
const module = @import("module.zig");
|
||||
const pjrt = @import("pjrtx.zig");
|
||||
|
||||
const log = std.log.scoped(.zml);
|
||||
|
||||
pub const Target = runtimes.Platform;
|
||||
|
||||
pub const available_targets = std.enums.values(Target);
|
||||
|
||||
pub const CompilationOptions = struct {
|
||||
|
||||
@ -1,11 +1,9 @@
|
||||
//! Test runner for unit test based on https://github.com/ziglang/zig/blob/master/lib/compiler/test_runner.zig with async
|
||||
const asynk = @import("async");
|
||||
const builtin = @import("builtin");
|
||||
const std = @import("std");
|
||||
|
||||
const io = std.io;
|
||||
const testing = std.testing;
|
||||
const assert = std.debug.assert;
|
||||
const builtin = @import("builtin");
|
||||
|
||||
const asynk = @import("async");
|
||||
|
||||
// note: std_options.log_level does not respect testing.log_level
|
||||
// ref: https://github.com/ziglang/zig/issues/5738
|
||||
|
||||
@ -5,8 +5,6 @@ const stdx = @import("stdx");
|
||||
const zml = @import("zml.zig");
|
||||
const Tensor = zml.Tensor;
|
||||
|
||||
const log = std.log.scoped(.zml_torch);
|
||||
|
||||
/// Multiplies a matrix or a vector with a tensor,
|
||||
/// following the semantic of pytorch `@` operator.
|
||||
/// When both sides are matrices, it's the textbook matrix multiplication :
|
||||
|
||||
Loading…
Reference in New Issue
Block a user