Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 374 for _sfloat (0.09 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

        return op.emitOpError("requires min to be a 1d float tensor");
    
      auto max = GetRankedTensorTypeForOperand(op.getMax());
      if (max && !IsOfRankedFloatTensorType(max, 1))
        return op.emitOpError("requires max to be a 1d float tensor");
    
      Value inputs = op.getInputs();
      if (!HasRankAtLeast(inputs, 1))
        return op.emitError("requires inputs to be at least 1d float tensor");
    
      int64_t num_bits = op.getNumBits();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirAnnotationValueConverter.kt

                type.isString -> KaConstantValue.KaStringConstantValue(value.toString(), expression)
                type.isFloat -> KaConstantValue.KaFloatConstantValue((value as Number).toFloat(), expression)
                type.isDouble -> KaConstantValue.KaDoubleConstantValue((value as Number).toDouble(), expression)
                else -> null
            }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/optimize_patterns.td

      "$0.isa<DenseElementsAttr>() && "
      "$0.cast<DenseElementsAttr>().getNumElements() == 1 && "
      "(($0.cast<DenseElementsAttr>().getValues<APFloat>()[0].isLargest() && "
      "$0.cast<DenseElementsAttr>().getValues<APFloat>()[0].isNegative()) || "
      "$0.cast<DenseElementsAttr>().getValues<APFloat>()[0].isNegInfinity())">>;
    
    def L2NormValidReduceIndex : Constraint<CPred<
      "L2NormalizeReduceAxis($0, $1.cast<DenseElementsAttr>())">>;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 20:31:41 UTC 2024
    - 66.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/quantization/ir/QuantizeUtils.cc

        quant::QuantizedType quantizedElementType,
        const UniformQuantizedValueConverter &converter) {
      return realFPElementsAttr.mapValues(
          quantizedElementType.getStorageType(),
          [&converter](const APFloat &realVal) {
            return converter.quantizeFloatToInt(realVal);
          });
    }
    
    /// Converts a real expressed SplatElementsAttr to a corresponding
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

                    },
                    new float[] {(float) 2, (float) 3, (float) 4}))
            .isEqualTo(1);
        assertThat(
                Floats.indexOf(
                    new float[] {(float) 4, (float) 3, (float) 2},
                    new float[] {(float) 2, (float) 3, (float) 4}))
            .isEqualTo(-1);
    
        for (float value : NUMBERS) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 29 15:43:06 UTC 2024
    - 29.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/primitives/FloatsTest.java

                    },
                    new float[] {(float) 2, (float) 3, (float) 4}))
            .isEqualTo(1);
        assertThat(
                Floats.indexOf(
                    new float[] {(float) 4, (float) 3, (float) 2},
                    new float[] {(float) 2, (float) 3, (float) 4}))
            .isEqualTo(-1);
    
        for (float value : NUMBERS) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 29 15:43:06 UTC 2024
    - 29.5K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/_gen/LOONG64.rules

    (Store {t} ptr val mem) && t.Size() == 4 && !t.IsFloat() => (MOVWstore ptr val mem)
    (Store {t} ptr val mem) && t.Size() == 8 && !t.IsFloat() => (MOVVstore ptr val mem)
    (Store {t} ptr val mem) && t.Size() == 4 &&  t.IsFloat() => (MOVFstore ptr val mem)
    (Store {t} ptr val mem) && t.Size() == 8 &&  t.IsFloat() => (MOVDstore ptr val mem)
    
    // zeroing
    (Zero [0] _ mem) => mem
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 19:26:25 UTC 2023
    - 31.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/FloatArrayAsListTest.java

          Float[] suffix = {(float) 86, (float) 99};
          Float[] all = concat(concat(prefix, elements), suffix);
          return asList(all).subList(2, elements.length + 2);
        }
      }
    
      private static Float[] concat(Float[] left, Float[] right) {
        Float[] result = new Float[left.length + right.length];
        System.arraycopy(left, 0, result, 0, left.length);
        System.arraycopy(right, 0, result, left.length, right.length);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/primitives/FloatArrayAsListTest.java

          Float[] suffix = {(float) 86, (float) 99};
          Float[] all = concat(concat(prefix, elements), suffix);
          return asList(all).subList(2, elements.length + 2);
        }
      }
    
      private static Float[] concat(Float[] left, Float[] right) {
        Float[] result = new Float[left.length + right.length];
        System.arraycopy(left, 0, result, 0, left.length);
        System.arraycopy(right, 0, result, left.length, right.length);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/request/seat_seconds_test.go

    			t.Errorf("SeatSeconds(%d).String() is %q but expected %q", uint64(testCase.ss), actualStr, testCase.expectStr)
    		}
    		actualFloat := testCase.ss.ToFloat()
    		if math.Round(actualFloat*ssScale) != math.Round(testCase.expectFloat*ssScale) {
    			t.Errorf("SeatSeconds(%d).ToFloat() is %v but expected %v", uint64(testCase.ss), actualFloat, testCase.expectFloat)
    		}
    	}
    }
    
    func TestSeatSecondsPerSeat(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 29 20:20:16 UTC 2021
    - 2.5K bytes
    - Viewed (0)
Back to top