Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 2,292 for JPoint (0.1 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/materialize_mlir_passthrough_op.cc

        if (!main) {
          op->emitError() << "MLIR Opaque Op expects a main() entry point\n";
          return;
        }
        if (main.getNumArguments() != op->getNumOperands()) {
          op->emitError() << "mismatch between MLIR Opaque Op number of operands ("
                          << op->getNumOperands()
                          << ") and main() entry point in the module ("
                          << main.getNumArguments() << " args)\n";
          return;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 03 12:35:38 UTC 2022
    - 4.2K bytes
    - Viewed (0)
  2. test/fixedbugs/issue62469.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package p
    
    func sign(p1, p2, p3 point) bool {
    	return (p1.x-p3.x)*(p2.y-p3.y)-(p2.x-p3.x)*(p1.y-p3.y) < 0
    }
    
    type point struct {
    	x, y int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 15:14:39 UTC 2023
    - 313 bytes
    - Viewed (0)
  3. src/runtime/preempt.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Goroutine preemption
    //
    // A goroutine can be preempted at any safe-point. Currently, there
    // are a few categories of safe-points:
    //
    // 1. A blocked safe-point occurs for the duration that a goroutine is
    //    descheduled, blocked on synchronization, or in a system call.
    //
    // 2. Synchronous safe-points occur when a running goroutine checks
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  4. src/crypto/internal/edwards25519/scalarmult.go

    		tmp1.AddAffine(v, multiple)
    		v.fromP1xP1(tmp1)
    	}
    
    	return v
    }
    
    // ScalarMult sets v = x * q, and returns v.
    //
    // The scalar multiplication is done in constant time.
    func (v *Point) ScalarMult(x *Scalar, q *Point) *Point {
    	checkInitialized(q)
    
    	var table projLookupTable
    	table.FromP3(q)
    
    	// Write x = sum(x_i * 16^i)
    	// so  x*Q = sum( Q*x_i*16^i )
    	//         = Q*x_0 + 16*(Q*x_1 + 16*( ... + Q*x_63) ... )
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 05 21:53:10 UTC 2022
    - 6.3K bytes
    - Viewed (0)
  5. src/crypto/elliptic/elliptic_test.go

    		if curve.IsOnCurve(x, y) {
    			t.Errorf("point off curve is claimed to be on the curve")
    		}
    
    		byteLen := (curve.Params().BitSize + 7) / 8
    		b := make([]byte, 1+2*byteLen)
    		b[0] = 4 // uncompressed point
    		x.FillBytes(b[1 : 1+byteLen])
    		y.FillBytes(b[1+byteLen : 1+2*byteLen])
    
    		x1, y1 := Unmarshal(curve, b)
    		if x1 != nil || y1 != nil {
    			t.Errorf("unmarshaling a point not on the curve succeeded")
    		}
    	})
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 27 02:00:03 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/passes/replace_cast_hacks_with_tf_xla_ops.td

       (HasStaticShapeConstraint $filter),
       (HasStaticShapeAtDimsConstraint<"3"> $input)],
      [], (addBenefit 10)>;
    
    // Same as ConvertTFConv2DToXLAConvOp but handles the case where input zero
    // point is dynaically calculated so not a constant.
    def ConvertTFConv2DToXLAConvOpDynamicRange : Pat<
      (TF_Conv2DOp:$conv
        (TF_SubOp:$input (TF_CastOp $input_i8, $truncate0), $input_zp),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Dec 10 05:52:02 UTC 2023
    - 21.1K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/serialization/codecs/UserTypesCodecTest.kt

        fun `can handle deeply nested graphs`() {
    
            val deepGraph = Peano.fromInt(1024)
    
            val read = configurationCacheRoundtripOf(deepGraph)
    
            assertThat(
                read.toInt(),
                equalTo(deepGraph.toInt())
            )
        }
    
        @Test
        fun `internal types codec leaves not implemented trace for unsupported types`() {
    
            val unsupportedBean = 42 to "42"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. src/image/draw/draw_test.go

    				DrawMask(m, image.Rect(x, y, x+1, y+1), src, image.Point{}, nil, image.Point{}, Src)
    			}
    		}
    		check("pixel")
    		// Draw 1 row at a time.
    		c = color.RGBA{0, 22, 0, 255}
    		src = &image.Uniform{C: c}
    		for y := b.Min.Y; y < b.Max.Y; y++ {
    			DrawMask(m, image.Rect(b.Min.X, y, b.Max.X, y+1), src, image.Point{}, nil, image.Point{}, Src)
    		}
    		check("row")
    		// Draw 1 column at a time.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 18:07:05 UTC 2023
    - 26K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/quantization/numerical_utils.cc

    #include <limits>
    #include <optional>
    
    #include "absl/types/optional.h"
    
    namespace mlir {
    namespace quant {
    
    // Converts a double-precision floating-point multiplier to a quantized
    // multiplier.
    //
    // Args:
    //   double_multiplier: The double-precision floating-point multiplier.
    //
    // Returns:
    //   A quantized multiplier, represented as a pair of integers: the quantized
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 17 19:57:04 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  10. pkg/scheduler/framework/plugins/examples/stateful/stateful.go

    	// there is no guarantee that there will only one unreserve operation at any
    	// given point in time (for example, during the binding cycle).
    	mp.mu.Lock()
    	defer mp.mu.Unlock()
    	mp.executionPoints = nil
    }
    
    // PreBind is the function invoked by the framework at "prebind" extension
    // point.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 09 03:43:17 UTC 2023
    - 3.3K bytes
    - Viewed (0)
Back to top