Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for Erfinv (0.21 sec)

  1. src/math/erfinv.go

    	f5 = 2.611088405080593625138020e-5
    	f6 = 2.010321207683943062279931e-7
    	f7 = 2.891024605872965461538222e-15
    )
    
    // Erfinv returns the inverse error function of x.
    //
    // Special cases are:
    //
    //	Erfinv(1) = +Inf
    //	Erfinv(-1) = -Inf
    //	Erfinv(x) = NaN if x < -1 or x > 1
    //	Erfinv(NaN) = NaN
    func Erfinv(x float64) float64 {
    	// special cases
    	if IsNaN(x) || x <= -1 || x >= 1 {
    		if x == -1 || x == 1 {
    			return Inf(int(x))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  2. src/math/all_test.go

    		a := vf[i] / 10
    		if f := Erfinv(a); !veryclose(erfinv[i], f) {
    			t.Errorf("Erfinv(%g) = %g, want %g", a, f, erfinv[i])
    		}
    	}
    	for i := 0; i < len(vferfinvSC); i++ {
    		if f := Erfinv(vferfinvSC[i]); !alike(erfinvSC[i], f) {
    			t.Errorf("Erfinv(%g) = %g, want %g", vferfinvSC[i], f, erfinvSC[i])
    		}
    	}
    	for x := -0.9; x <= 0.90; x += 1e-2 {
    		if f := Erf(Erfinv(x)); !close(x, 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)
  3. tensorflow/cc/gradients/math_grad_test.cc

            y = Angle(scope_, x);
            break;
          case LGAMMA:
            y = Lgamma(scope_, x);
            break;
          case ERF:
            y = Erf(scope_, x);
            break;
          case ERFINV:
            y = Erfinv(scope_, x);
            break;
          case NDTRI:
            y = Ndtri(scope_, x);
            break;
        }
    
        float max_error;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 25 18:20:20 UTC 2023
    - 36K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-with-tf2xla-hlo-importer.mlir

        %0, %1 = "tf.Unique"(%arg0) : (tensor<5xf32>) -> (tensor<?xf32>, tensor<?xi32>)
        func.return %0, %1 : tensor<?xf32> , tensor<?xi32>
      }
    
      // CHECK-LABEL: @erfinv
      func.func @erfinv(%input: tensor<4xf32>) -> tensor<4xf32> {
        // CHECK-NOT: tf.Erfinv
        %0 = "tf.Erfinv"(%input) : (tensor<4xf32>) -> tensor<4xf32>
        func.return %0 : tensor<4xf32>
      }
    
      // CHECK-LABEL: @ndtri
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 38.6K bytes
    - Viewed (0)
  5. tensorflow/cc/gradients/math_grad.cc

      auto x = ConjugateHelper(grad_scope, op.input(0));
      // grad * sqrt(pi) / 2 * exp(erfinv(x) ** 2)
      auto dx = Mul(grad_scope, Mul(grad_scope, grad, root_pi_over_two),
                    Exp(grad_scope, Square(grad_scope, op.output(0))));
      grad_outputs->push_back(dx);
      return grad_scope.status();
    }
    REGISTER_GRADIENT_OP("Erfinv", ErfinvGrad);
    
    Status NdtriGrad(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)
  6. api/go1.10.txt

    pkg flag, method (*FlagSet) ErrorHandling() ErrorHandling
    pkg flag, method (*FlagSet) Name() string
    pkg flag, method (*FlagSet) Output() io.Writer
    pkg html/template, type Srcset string
    pkg math, func Erfcinv(float64) float64
    pkg math, func Erfinv(float64) float64
    pkg math, func Round(float64) float64
    pkg math, func RoundToEven(float64) float64
    pkg math/big, const MaxBase = 62
    pkg math/big, method (*Float) Sqrt(*Float) *Float
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 06 05:00:01 UTC 2018
    - 30.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/mark_for_compilation_pass.cc

                "Log1p", "Invert", "LogicalNot", "Ndtri", "Neg", "Rint", "Round",
                "Rsqrt", "Sigmoid", "Sign", "Sinh", "Softplus", "Softsign", "Sqrt",
                "Square", "Tan", "Tanh", "Real", "Imag", "Erf", "Erfc", "Erfinv",
                "Lgamma", "Digamma",
                // Binary
                "Add", "AddV2", "Sub", "Mul", "Div", "Atan2", "Complex", "DivNoNan",
                "MulNoNan", "FloorDiv", "Xlogy", "Xlog1py", "Xdivy", "FloorMod",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/cc/quantization_unit_loc.cc

        StringRef caller_name = mlir::cast<NameLoc>(caller).getName().strref();
        const size_t start_index = kQuantizationUnitPrefix.size();
        const size_t end_index = caller_name.rfind(kQuantizationUnitSuffix);
        std::string serialized_proto =
            caller_name.substr(start_index, end_index - start_index).str();
        QuantizationUnitLoc::QuantizationUnit quant_unit;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/metrics/error_collector_inst_test.cc

      explicit MockFailurePass() = default;
    
     private:
      void runOnOperation() override {
        getOperation().walk([](Operation* nestedOp) {
          if (nestedOp->getName().getStringRef().str().rfind("tf.") != -1) {
            AttachErrorCode(
                nestedOp->emitError()
                    << "Failed at " << nestedOp->getName().getStringRef().str()
                    << " op",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 25 01:48:36 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  10. tensorflow/cc/framework/cc_op_gen_util.cc

        if (pos != string::npos) {
          result = result.substr(pos + 1);
        }
      }
      return result;
    }
    
    string GetFilename(StringPiece path) {
      size_t slash_pos = path.rfind('/');
      if (slash_pos == path.npos) slash_pos = -1;
      size_t dot_pos = path.rfind('.');
      return string(path.substr(slash_pos + 1, dot_pos - (slash_pos + 1)));
    }
    
    string ToGuard(StringPiece path) {
      string guard;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 00:57:05 UTC 2024
    - 25K bytes
    - Viewed (0)
Back to top