Пример #1
0
 public Tensor Frac(Tensor result, Tensor src)
 {
     return(NativeWrapper.InvokeNullableResultElementwise(frac_func, result, src));
 }
Пример #2
0
 public Tensor Norm(Tensor result, Tensor src, int dimension, float value)
 {
     return(NativeWrapper.InvokeNullableResultDimensionwise(norm_func, result, src, dimension, value));
 }
Пример #3
0
 public Tensor RMSProp(Tensor tw, Tensor tg, Tensor tc, int batchSize, float step_size, float clipval, float regc, float decay_rate, float eps)
 {
     NativeWrapper.InvokeTypeMatch(rmsProp_func, tw, tg, tc, (int)tw.Sizes[0], (int)tw.Sizes[1], batchSize, step_size, clipval, regc, decay_rate, eps);
     return(tw);
 }
Пример #4
0
 public Tensor Mod(Tensor result, Tensor lhs, Tensor rhs)
 {
     return(NativeWrapper.InvokeNullableResultElementwise(cmod_func, result, lhs, rhs));
 }
Пример #5
0
 public Tensor NotEqual(Tensor result, Tensor lhs, Tensor rhs)
 {
     return(NativeWrapper.InvokeNullableResultElementwise(neTensor_func, result, lhs, rhs));
 }
Пример #6
0
 public Tensor Mul(Tensor result, Tensor lhs, float rhs)
 {
     return(NativeWrapper.InvokeNullableResultElementwise(mul_func, result, lhs, rhs));
 }
Пример #7
0
 public Tensor GreaterThan(Tensor result, Tensor lhs, float rhs)
 {
     return(NativeWrapper.InvokeNullableResultElementwise(gtValue_func, result, lhs, rhs));
 }
Пример #8
0
 public Tensor SigmoidD(Tensor result, Tensor resW, Tensor resG)
 {
     return(NativeWrapper.InvokeNullableResultElementwise(sigmoidD_func, result, resW, resG));
 }
Пример #9
0
 public Tensor Add4(Tensor result, Tensor x, Tensor y, Tensor z, Tensor w)
 {
     return(NativeWrapper.InvokeNullableResultElementwise(add4_func, result, x, y, z, w));
 }
Пример #10
0
 public Tensor Sigmoid(Tensor result, Tensor src)
 {
     return(NativeWrapper.InvokeNullableResultElementwise(sigmoid_func, result, src));
 }
Пример #11
0
 public Tensor TanhD(Tensor result, Tensor resW, Tensor resG)
 {
     return(NativeWrapper.InvokeNullableResultElementwise(tanhD_func, result, resW, resG));
 }
Пример #12
0
 public Tensor Tanh(Tensor result, Tensor src)
 {
     return(NativeWrapper.InvokeNullableResultElementwise(tanh_func, result, src));
 }
Пример #13
0
 public Tensor Acos(Tensor result, Tensor src)
 {
     return(NativeWrapper.InvokeNullableResultElementwise(acos_func, result, src));
 }
Пример #14
0
 public Tensor Relu(Tensor result, Tensor src)
 {
     return(NativeWrapper.InvokeNullableResultElementwise(relu_func, result, src));
 }
Пример #15
0
 public Tensor AddTanh(Tensor result, Tensor srcX, Tensor srcY)
 {
     return(NativeWrapper.InvokeNullableResultElementwise(addtanh_func, result, srcX, srcY));
 }
Пример #16
0
 public Tensor AddMulV(Tensor result, Tensor x, Tensor y, float z)
 {
     return(NativeWrapper.InvokeNullableResultElementwise(addmulv_func, result, x, y, z));
 }
Пример #17
0
 public Tensor AddReluD(Tensor result, Tensor srcX, Tensor srcY, Tensor srcZ)
 {
     return(NativeWrapper.InvokeNullableResultElementwise(addreluD_func, result, srcX, srcY, srcZ));
 }
Пример #18
0
 public Tensor Atan2(Tensor result, Tensor srcY, Tensor srcX)
 {
     return(NativeWrapper.InvokeNullableResultElementwise(atan2_func, result, srcY, srcX));
 }
Пример #19
0
 public Tensor Div(Tensor result, float lhs, Tensor rhs)
 {
     return(NativeWrapper.InvokeNullableResultElementwise(rdiv_func, result, rhs, lhs));
 }
Пример #20
0
 public Tensor Pow(Tensor result, Tensor src, float value)
 {
     return(NativeWrapper.InvokeNullableResultElementwise(pow_func, result, src, value));
 }
Пример #21
0
 public Tensor EqualTo(Tensor result, Tensor lhs, float rhs)
 {
     return(NativeWrapper.InvokeNullableResultElementwise(eqValue_func, result, lhs, rhs));
 }
Пример #22
0
 public Tensor Tpow(Tensor result, float value, Tensor src)
 {
     return(NativeWrapper.InvokeNullableResultElementwise(tpow_func, result, value, src));
 }
Пример #23
0
 public Tensor LessThan(Tensor result, Tensor lhs, Tensor rhs)
 {
     return(NativeWrapper.InvokeNullableResultElementwise(ltTensor_func, result, lhs, rhs));
 }
Пример #24
0
 public Tensor Lerp(Tensor result, Tensor srcA, Tensor srcB, float weight)
 {
     return(NativeWrapper.InvokeNullableResultElementwise(tanh_func, result, srcA, srcB, weight));
 }
Пример #25
0
 public Tensor Mean(Tensor result, Tensor src, int dimension)
 {
     return(NativeWrapper.InvokeNullableResultDimensionwise(mean_func, result, src, dimension));
 }
Пример #26
0
 public Tensor Clamp(Tensor result, Tensor src, float min, float max)
 {
     return(NativeWrapper.InvokeNullableResultElementwise(tanh_func, result, src, min, max));
 }
Пример #27
0
 public Tensor Var(Tensor result, Tensor src, int dimension, bool normByN)
 {
     return(NativeWrapper.InvokeNullableResultDimensionwise(var_func, result, src, dimension, normByN));
 }
Пример #28
0
 public Tensor MulMulAdd(Tensor result, Tensor srcX, Tensor srcY, Tensor srcZ, Tensor srcW)
 {
     return(NativeWrapper.InvokeNullableResultElementwise(mulmuladd_func, result, srcX, srcY, srcZ, srcW));
 }
Пример #29
0
 public Tensor Adam(Tensor tw, Tensor tg, Tensor tv, Tensor tm, int batchSize, float step_size, float clipval, float regc, float decay_rate_v, float decay_rate_m, int iter, float eps)
 {
     NativeWrapper.InvokeTypeMatch(adam_func, tw, tg, tv, tm, (int)tw.Sizes[0], (int)tw.Sizes[1], batchSize, step_size, clipval, regc, decay_rate_v, decay_rate_m, iter, eps);
     return(tw);
 }
Пример #30
0
 public Tensor Ceil(Tensor result, Tensor src)
 {
     return(NativeWrapper.InvokeNullableResultElementwise(ceil_func, result, src));
 }