Class CameraEmbedding<T>
Camera position embedding for view conditioning.
public class CameraEmbedding<T>
Type Parameters
TNumeric type.
- Inheritance
-
CameraEmbedding<T>
- Inherited Members
Constructors
CameraEmbedding(int, int?)
Creates camera embedding.
public CameraEmbedding(int embeddingDim, int? seed = null)
Parameters
Properties
ParameterCount
Gets parameter count.
public int ParameterCount { get; }
Property Value
Methods
Embed(double, double, double)
Embeds camera position.
public Tensor<T> Embed(double azimuth, double elevation, double radius)
Parameters
Returns
- Tensor<T>
GetParameters()
Gets parameters.
public Vector<T> GetParameters()
Returns
- Vector<T>
SetParameters(Vector<T>)
Sets parameters.
public void SetParameters(Vector<T> parameters)
Parameters
parametersVector<T>