Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for Raisin (0.25 sec)

  1. src/time/time_test.go

    	{2011, 12, 31}, // December, last month, 31 days
    }
    
    func TestDaysIn(t *testing.T) {
    	// The daysIn function is not exported.
    	// Test the daysIn function via the `var DaysIn = daysIn`
    	// statement in the internal_test.go file.
    	for _, tt := range daysInTests {
    		di := DaysIn(Month(tt.month), tt.year)
    		if di != tt.di {
    			t.Errorf("got %d; expected %d for %d-%02d",
    				di, tt.di, tt.year, tt.month)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:13:47 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  2. src/math/all_test.go

    }
    
    func TestAsin(t *testing.T) {
    	for i := 0; i < len(vf); i++ {
    		a := vf[i] / 10
    		if f := Asin(a); !veryclose(asin[i], f) {
    			t.Errorf("Asin(%g) = %g, want %g", a, f, asin[i])
    		}
    	}
    	for i := 0; i < len(vfasinSC); i++ {
    		if f := Asin(vfasinSC[i]); !alike(asinSC[i], f) {
    			t.Errorf("Asin(%g) = %g, want %g", vfasinSC[i], f, asinSC[i])
    		}
    	}
    }
    
    func TestAsinh(t *testing.T) {
    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/compiler/mlir/tfr/python/tfr_gen.py

        # TODO(fengliuai): currently we don't support backward type inference, so we
        # have to store these non-derivable type in the signatures, and then they
        # can be used to cast the values when raising to tf ops.
        if arg_def.type == types_pb2.DT_FLOAT:
          attr_names.append('f32_')
        elif arg_def.type == types_pb2.DT_INT32:
          attr_names.append('i32_')
        elif arg_def.type == types_pb2.DT_INT64:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 27 15:27:03 UTC 2022
    - 55.8K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/EventListenerTest.kt

    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.contains
    import assertk.assertions.containsExactly
    import assertk.assertions.doesNotContain
    import assertk.assertions.isEqualTo
    import assertk.assertions.isIn
    import assertk.assertions.isInstanceOf
    import assertk.assertions.isNotNull
    import assertk.assertions.isNull
    import assertk.assertions.isSameAs
    import java.io.File
    import java.io.IOException
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 56.9K bytes
    - Viewed (0)
  5. tensorflow/cc/gradients/math_grad.cc

    }
    REGISTER_GRADIENT_OP("Cos", CosGrad);
    
    Status AsinGrad(const Scope& scope, const Operation& op,
                    const std::vector<Output>& grad_inputs,
                    std::vector<Output>* grad_outputs) {
      // y = asin(x)
      // dy/dx = 1 / sqrt(1 - x^2)
      auto x2 = Square(scope, op.input(0));
      auto one = Cast(scope, Const(scope, 1.0), op.input(0).type());
      auto dydx = Reciprocal(scope, Sqrt(scope, Sub(scope, one, x2)));
    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. configure.py

          one from the check_success function.
        resolve_symlinks: (Bool) Translate symbolic links into the real filepath.
        n_ask_attempts: (Integer) Number of times to query for valid input before
          raising an error and quitting.
    
      Returns:
        [String] The value of var_name after querying for input.
    
      Raises:
        UserInputError: if a query has been attempted n_ask_attempts times without
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 10 04:32:44 UTC 2024
    - 53.8K bytes
    - Viewed (0)
  7. src/time/format.go

    		}
    		day = d
    	} else {
    		if month < 0 {
    			month = int(January)
    		}
    		if day < 0 {
    			day = 1
    		}
    	}
    
    	// Validate the day of the month.
    	if day < 1 || day > daysIn(Month(month), year) {
    		return Time{}, newParseError(alayout, avalue, "", value, ": day out of range")
    	}
    
    	if z != nil {
    		return Date(year, Month(month), day, hour, min, sec, nsec, z), nil
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:28 UTC 2024
    - 49.3K bytes
    - Viewed (0)
  8. src/time/time.go

    	31 + 28 + 31 + 30 + 31 + 30 + 31 + 31 + 30 + 31,
    	31 + 28 + 31 + 30 + 31 + 30 + 31 + 31 + 30 + 31 + 30,
    	31 + 28 + 31 + 30 + 31 + 30 + 31 + 31 + 30 + 31 + 30 + 31,
    }
    
    func daysIn(m Month, year int) int {
    	if m == February && isLeap(year) {
    		return 29
    	}
    	return int(daysBefore[m] - daysBefore[m-1])
    }
    
    // daysSinceEpoch takes a year and returns the number of days from
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 50.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/lower_tf.mlir

    func.func @_UnaryOpsComposition(%arg0: tensor<4xf32>) -> tensor<4xf32> {
    
      // CHECK: %[[RESULT0:.*]] = "tf.Asin"(%[[ARG0]])
      // CHECK: %[[RESULT1:.*]] = "tf.Abs"(%[[RESULT0]])
      // CHECK: %[[RESULT2:.*]] = "tf.Log"(%[[RESULT1]])
      // CHECK: return %[[RESULT2]]
    
      %0 = "tf._UnaryOpsComposition"(%arg0) {op_names = ["Asin", "Abs", "Log"]} : (tensor<4xf32>) -> tensor<4xf32>
      func.return %0 : tensor<4xf32>
    }
    
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 05 18:35:42 UTC 2024
    - 92K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/mark_for_compilation_pass.cc

          new absl::flat_hash_map<string, std::vector<string>>{
              // Unary
              {"PW",
               {"ComplexAbs", "Angle", "Conj", "Abs", "Acos", "Acosh", "Asin",
                "Atan", "Atanh", "Ceil", "Cos", "Cosh", "Sin", "Exp", "Expm1",
                "Floor", "IsFinite", "IsInf", "IsNan", "Inv", "Reciprocal", "Log",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 85.3K bytes
    - Viewed (0)
Back to top