Table of Contents

Interface IDetachedTensor<T>

Namespace
AiDotNet.SelfSupervisedLearning
Assembly
AiDotNet.dll

Marker interface for tensors that should not receive gradients.

public interface IDetachedTensor<T>

Type Parameters

T

Remarks

This can be used to mark tensors at compile time as non-differentiable. Useful for type-safe gradient handling in advanced scenarios.

Properties

Data

Gets the underlying tensor data.

Tensor<T> Data { get; }

Property Value

Tensor<T>