BIGtensor-GPU  1.0
BIGtensor Class Reference

BIGtensor class. More...

Inheritance diagram for BIGtensor:
Factorization Generation Manipulation Operation

Public Member Functions

 BIGtensor (const GPU_MODE _gpu_mode=CPU)
 
void set_gpu_mode (const GPU_MODE _gpu_mode)
 
- Public Member Functions inherited from Factorization
void Parafac (int rank, int fully_or_partially_observable, char *in_tensor_path, char *out_factor_path, const GPU_MODE _gpu_mode=ANY)
 CANDECOMP/PARAFAC factorization. More...
 
void ParafacNN (int rank, int fully_or_partially_observable, char *in_tensor_path, char *out_factor_path, const GPU_MODE _gpu_mode=ANY)
 Nonegative CANDECOMP/PARAFAC factorization. More...
 
void Tucker (int rank, int fully_or_partially_observable, char *in_tensor_path, char *out_factor_path, const GPU_MODE _gpu_mode=ANY)
 Tucker factorization. More...
 
void TuckerNN (int rank, int fully_or_partially_observable, char *in_tensor_path, char *out_factor_path, const GPU_MODE _gpu_mode=ANY)
 Nonnegative Tucker factorization. More...
 
void CoupledMatrixTensorFactorization (int rank, int coupled_mode, char *in_tensor_path, char *in_matrix_path, char *out_factor_path, const GPU_MODE _gpu_mode=ANY)
 Coupled Matrix and Tensor factorization. More...
 
- Public Member Functions inherited from Generation
void FromParafacFactors (int order, int rank, int *dim, float *FactorM, Tensor CoreT, char *out_tensor_path, const GPU_MODE _gpu_mode=ANY)
 Tensor generation from factor matrices and lambda vector (Parafac). More...
 
void FromTuckerFactors (int order, int rank, int *dim, float *FactorM, Tensor CoreT, char *out_tensor_path, const GPU_MODE _gpu_mode=ANY)
 Tensor generation from factor matrices and core tensor (Tucker). More...
 
void Ones (int order, int *dim, int nnz, char *out_tensor_path, const GPU_MODE _gpu_mode=ANY)
 Tensor generation where all tensor values are set to 1. More...
 
void Random (int order, int *dim, int nnz, char *out_tensor_path, const GPU_MODE _gpu_mode=ANY)
 Tensor generation where tensor values are set randomly. More...
 
- Public Member Functions inherited from Manipulation
void Collapse (int collapse_mode, char *in_tensor_path, char *out_tensor_path, const GPU_MODE _gpu_mode=ANY)
 Collapsing a mode of a tensor. More...
 
void ConvertSign (char *in_tensor_path, char *out_tensor_path, const GPU_MODE _gpu_mode=ANY)
 Converting signs of a tensor. More...
 
void ConvertToBinaryTensor (char *in_tensor_path, char *out_tensor_path, const GPU_MODE _gpu_mode=ANY)
 Converting a tensor into a binary tensor. More...
 
void Find (int *index, char *in_tensor_path, char *out_tensor_path, const GPU_MODE _gpu_mode=ANY)
 Finding elements satisfying certain conditions or index in a tensor. More...
 
void Matricize (int mode, char *in_tensor_path, char *out_tensor_path, const GPU_MODE _gpu_mode=ANY)
 Matricization of a tensor to certain mode. More...
 
void Fold (char *in_tensor_path, int order, int mode, int *dim, char *out_tensor_path, const GPU_MODE _gpu_mode=ANY)
 Converting a matrix into a tensor. More...
 
void Norm (char type, char *in_tensor_path, const GPU_MODE _gpu_mode=ANY)
 Computing L1-norm or L-F norm of a tensor. More...
 
void PermutateModes (int *modes, char *in_tensor_path, char *out_tensor_path, const GPU_MODE _gpu_mode=ANY)
 Permuting the order of modes of a tensor (transpose in a matrix) More...
 
void ScalarOP (char *in_tensor_path, char op, const float val, char *out_tensor_path, const GPU_MODE _gpu_mode)
 Execution of scalar operations (+, -, *, /) More...
 
void Scale (char *in_tensor_path, const int new_mode, char *out_tensor_path, const GPU_MODE _gpu_mode)
 Expansion of a tensor to given a new mode. More...
 
- Public Member Functions inherited from Operation
void TensorOP (char *in_tensor_A_path, OP op, char *in_tensor_B_path, char *out_tensor_path, const GPU_MODE _gpu_mode)
 Execution of basic binary operations with given two tensors. More...
 
void EqualTo (char *in_tensor_A_path, char *in_tensor_B_path, char *out_tensor_path, const GPU_MODE _gpu_mode)
 Check if two tensor A and B are the same. More...
 
void NModeProduct (char *in_tensor_path, char *in_sparse_matrix_path, int n_mode, char *out_tensor_path, const GPU_MODE _gpu_mode)
 N-mode product of a tensor and a sparse matrix. More...
 

Static Public Member Functions

static void printLog (string content)
 

Detailed Description

BIGtensor class.