+
Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions src/tensor/impl_tensor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,6 @@ pub trait Tensor:
+ PutTape<Self::Tape, Output = Self>
+ Clone;

/// This tensor but with [OwnedTape]
type OwnedTape: 'static
+ Tensor<
Array = Self::Array,
Dtype = Self::Dtype,
Tape = OwnedTape,
OwnedTape = Self::OwnedTape,
>;

/// Removes whatever Tape this tensor has and returns itself without a tape.
fn split_tape(self) -> (Self::NoTape, Self::Tape);

Expand All @@ -37,7 +28,6 @@ macro_rules! tensor_impl {
impl<$(const $Vs: usize, )* H: Tape> Tensor for $struct<$($Vs, )* H> {
type Tape = H;
type NoTape = $struct<$($Vs, )* NoneTape>;
type OwnedTape = $struct<$($Vs, )* OwnedTape>;

fn split_tape(self) -> (Self::NoTape, Self::Tape) {
(
Expand Down
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载