SimpleTensor function ( int arg0 , int arg1 , int arg2 , double arg3 , double arg4 , java . util . Random arg5 ) { SimpleTensor loc0 = new SimpleTensor ( arg0 , arg1 , arg2 ) ; for ( int loc1 = 0 ; loc1 < arg2 ; ++ loc1 ) { loc0 . slices [ loc1 ] = SimpleMatrix . random ( arg0 , arg1 , arg3 , arg4 , arg5 ) ; } return loc0 ; }
returns a randomly initialized tensor with values draft from the uniform distribution between minvalue and maxvalue . concode_field_sep SimpleMatrix[] slices concode_elem_sep int numRows concode_elem_sep int numSlices concode_elem_sep Iterator<SimpleTensor> tensors concode_elem_sep Iterator<SimpleMatrix> currentIterator concode_elem_sep int numCols concode_elem_sep long serialVersionUID concode_field_sep SimpleMatrix next concode_elem_sep void setSlice concode_elem_sep void set concode_elem_sep int numRows concode_elem_sep SimpleTensor elementMult concode_elem_sep SimpleTensor scale concode_elem_sep boolean hasNext concode_elem_sep void advanceIterator concode_elem_sep int numCols concode_elem_sep int getNumElements concode_elem_sep SimpleTensor plus concode_elem_sep void remove concode_elem_sep SimpleMatrix bilinearProducts concode_elem_sep SimpleMatrix getSlice concode_elem_sep boolean isZero concode_elem_sep int numSlices concode_elem_sep String toString concode_elem_sep String toString concode_elem_sep double elementSum concode_elem_sep Iterator<SimpleMatrix> iteratorSimpleMatrix concode_elem_sep Iterator<SimpleMatrix> iteratorSimpleMatrix