Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 862 for Cast (0.06 sec)

  1. guava/src/com/google/common/hash/Striped64.java

          int r = rng.nextInt(); // Avoid zero to allow xorShift rehash
          h = hc[0] = (r == 0) ? 1 : r;
        } else h = hc[0];
        boolean collide = false; // True if last slot nonempty
        for (; ; ) {
          Cell[] as;
          Cell a;
          int n;
          long v;
          if ((as = cells) != null && (n = as.length) > 0) {
            if ((a = as[(n - 1) & h]) == null) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/flatbuffer_operator.cc

                                       flatbuffers::FlatBufferBuilder* builder) {
      std::vector<int32_t> intVec;
      intVec.reserve(attrArray.getValue().size());
      for (auto attr : attrArray.getValue()) {
        intVec.push_back(mlir::cast<mlir::IntegerAttr>(attr).getInt());
      }
      return builder->CreateVector(intVec);
    }
    
    static flatbuffers::Offset<flatbuffers::Vector<float>>
    ConvertF32ArrayAttrForOptionWriter(mlir::ArrayAttr attrArray,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 38K bytes
    - Viewed (0)
  3. go.mod

    	github.com/shopspring/decimal v1.3.1 // indirect
    	github.com/sirupsen/logrus v1.9.3 // indirect
    	github.com/sourcegraph/conc v0.3.0 // indirect
    	github.com/spf13/afero v1.11.0 // indirect
    	github.com/spf13/cast v1.6.0 // indirect
    	github.com/stretchr/objx v0.5.2 // indirect
    	github.com/subosito/gotenv v1.6.0 // indirect
    	github.com/vbatts/tar-split v0.11.5 // indirect
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 15:32:28 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/decompose_resource_ops.td

    def CreateTFReadVariableOp : NativeCodeCall<
        "$_builder.create<TF::ReadVariableOp>("
        "  $0.getLoc(),"
        "  GetResourceSubtypeOrDefault("
        "    $2, $1.getType().cast<TensorType>().getElementType()),"
        "  $2)"
        >;
    
    def CheckHasResourceSubtype : Constraint<CPred<"HasResourceSubtype($0)">>;
    
    def CreateConstBoolAttrFalse : NativeCodeCall<"$_builder.getBoolAttr(false)">;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 19:47:48 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tests/optimize.mlir

      // CHECK: %[[CAST:.*]] = "tfl.cast
      // CHECK: return %[[CAST]]
    }
    func.func @squaredDifferenceReluRemoveRelu(%arg0: tensor<1xf32>, %arg1: tensor<1xf32>) -> tensor<1xf32> {
      %0 = "tfl.squared_difference"(%arg0, %arg1) : (tensor<1xf32>, tensor<1xf32>) -> tensor<1xf32>
      %1 = "tfl.relu"(%0) : (tensor<1xf32>) -> tensor<1xf32>
      func.return %1: tensor<1xf32>
    
    // CHECK-LABEL: squaredDifferenceReluRemoveRelu
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 20:31:41 UTC 2024
    - 284.1K bytes
    - Viewed (0)
  6. pkg/kubelet/container/helpers.go

    }
    
    func (irecorder *innerEventRecorder) shouldRecordEvent(object runtime.Object) (*v1.ObjectReference, bool) {
    	if ref, ok := object.(*v1.ObjectReference); ok {
    		// this check is needed AFTER the cast. See https://github.com/kubernetes/kubernetes/issues/95552
    		if ref == nil {
    			return nil, false
    		}
    		if !strings.HasPrefix(ref.FieldPath, ImplicitContainerPrefix) {
    			return ref, true
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  7. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FileCollectionIntegrationTest.groovy

        def "can use 'as' operator with #type"() {
            buildFile << """
                def fileCollection = files("input.txt")
                def castValue = fileCollection as $type
                println "Cast value: \$castValue (\${castValue.getClass().name})"
                assert castValue instanceof $type
            """
    
            expect:
            succeeds "help"
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 12:54:09 UTC 2024
    - 21K bytes
    - Viewed (0)
  8. pkg/proxy/nftables/proxier.go

    func (proxier *Proxier) SyncLoop() {
    	// Update healthz timestamp at beginning in case Sync() never succeeds.
    	if proxier.healthzServer != nil {
    		proxier.healthzServer.Updated(proxier.ipFamily)
    	}
    
    	// synthesize "last change queued" time as the informers are syncing.
    	metrics.SyncProxyRulesLastQueuedTimestamp.SetToCurrentTime()
    	proxier.syncRunner.Loop(wait.NeverStop)
    }
    
    func (proxier *Proxier) setInitialized(value bool) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

          // even though K doesn't explicitly implement Comparable.
          comparator = (Comparator<? super K>) NATURAL_ORDER;
        }
        if (map instanceof ImmutableSortedMap) {
          // TODO(kevinb): Prove that this cast is safe, even though
          // Collections.unmodifiableSortedMap requires the same key type.
          @SuppressWarnings("unchecked")
          ImmutableSortedMap<K, V> kvMap = (ImmutableSortedMap<K, V>) map;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 53K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/stablehlo/tests/compose-uniform-quantized-type.mlir

        return %0 : tensor<1x4x3xf32>
      }
    // CHECK: @uniform_dequantize_0
    }
    
    // -----
    
    // Tests that when dot_general's filter comes from an f32 constant
    // it is cast to i8 after the conversion.
    
    module {
    // CHECK-LABEL: quantized_dot_general_float_filter
    // CHECK-SAME: %[[ARG:.*]]: tensor<1x4x2xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 17:10:32 UTC 2024
    - 37K bytes
    - Viewed (0)
Back to top