Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for expm1 (0.04 sec)

  1. src/math/all_test.go

    		a := vf[i] / 100
    		if f := Expm1(a); !veryclose(expm1[i], f) {
    			t.Errorf("Expm1(%g) = %g, want %g", a, f, expm1[i])
    		}
    	}
    	for i := 0; i < len(vf); i++ {
    		a := vf[i] * 10
    		if f := Expm1(a); !close(expm1Large[i], f) {
    			t.Errorf("Expm1(%g) = %g, want %g", a, f, expm1Large[i])
    		}
    	}
    	for i := 0; i < len(vfexpm1SC); i++ {
    		if f := Expm1(vfexpm1SC[i]); !alike(expm1SC[i], f) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jul 07 17:39:26 UTC 2023
    - 86.8K bytes
    - Viewed (0)
  2. tensorflow/cc/gradients/math_grad.cc

                     std::vector<Output>* grad_outputs) {
      // y = expm1(x)
      // dy/dx = exp(x)
      auto dydx = Exp(scope, op.input(0));
      // grad(x) = grad(y) * conj(dy/dx)
      grad_outputs->push_back(
          Mul(scope, grad_inputs[0], ConjugateHelper(scope, dydx)));
      return scope.status();
    }
    REGISTER_GRADIENT_OP("Expm1", Expm1Grad);
    
    Status LogGrad(const Scope& scope, const Operation& op,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 25 18:20:20 UTC 2023
    - 50.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/lower_tf.mlir

        func.return %2 : tensor<4x8xf32>
    }
    
    // CHECK-LABEL: func @expm1
    // CHECK-SAME: (%[[ARG0:.*]]: tensor<3x4xf32>)
    func.func @expm1(%arg0: tensor<3x4xf32>) -> tensor<3x4xf32> {
      %0 = "tf.Expm1"(%arg0) : (tensor<3x4xf32>) -> tensor<3x4xf32>
      func.return %0 : tensor<3x4xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 05 18:35:42 UTC 2024
    - 92K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/mark_for_compilation_pass.cc

              // Unary
              {"PW",
               {"ComplexAbs", "Angle", "Conj", "Abs", "Acos", "Acosh", "Asin",
                "Atan", "Atanh", "Ceil", "Cos", "Cosh", "Sin", "Exp", "Expm1",
                "Floor", "IsFinite", "IsInf", "IsNan", "Inv", "Reciprocal", "Log",
                "Log1p", "Invert", "LogicalNot", "Ndtri", "Neg", "Rint", "Round",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  5. src/go/printer/nodes.go

    			printBlank = false // no blank after line break
    		}
    	}
    	if printBlank {
    		p.print(blank)
    	}
    	p.expr1(x.Y, prec+1, depth+1)
    	if ws == ignore {
    		p.print(unindent)
    	}
    }
    
    func isBinary(expr ast.Expr) bool {
    	_, ok := expr.(*ast.BinaryExpr)
    	return ok
    }
    
    func (p *printer) expr1(expr ast.Expr, prec1, depth int) {
    	p.setPos(expr.Pos())
    
    	switch x := expr.(type) {
    	case *ast.BadExpr:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 18:53:17 UTC 2023
    - 52.6K bytes
    - Viewed (0)
  6. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest.h

    template <typename T1, typename T2>\
    AssertionResult CmpHelper##op_name(const char* expr1, const char* expr2, \
                                       const T1& val1, const T2& val2) {\
      if (val1 op val2) {\
        return AssertionSuccess();\
      } else {\
        return AssertionFailure() \
            << "Expected: (" << expr1 << ") " #op " (" << expr2\
            << "), actual: " << FormatForComparisonFailureMessage(val1, val2)\
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 86.4K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest.h

    template <typename T1, typename T2>\
    AssertionResult CmpHelper##op_name(const char* expr1, const char* expr2, \
                                       const T1& val1, const T2& val2) {\
      if (val1 op val2) {\
        return AssertionSuccess();\
      } else {\
        return AssertionFailure() \
            << "Expected: (" << expr1 << ") " #op " (" << expr2\
            << "), actual: " << FormatForComparisonFailureMessage(val1, val2)\
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 86.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/SetsTest.java

        Set<Integer> x = set(1, 2);
        Set<String> y = set("3", "4");
    
        List<Object> exp1 = list((Object) 1, "3");
        List<Object> exp2 = list((Object) 1, "4");
        List<Object> exp3 = list((Object) 2, "3");
        List<Object> exp4 = list((Object) 2, "4");
    
        assertThat(Sets.<Object>cartesianProduct(x, y))
            .containsExactly(exp1, exp2, exp3, exp4)
            .inOrder();
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 49.2K bytes
    - Viewed (0)
Back to top