Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 197 for _sfloat (0.27 sec)

  1. tensorflow/compiler/jit/tests/device_compiler_test_helper.cc

    }
    
    }  // namespace
    
    GraphDef DeviceCompilerSerializeTest::GetTestGraph(
        const PartialTensorShape& input_shape) {
      FunctionDef make_test_fn = FunctionDefHelper::Define(
          "TestFn", {"a:float", "b:float", "c:float"}, {"m:float"}, {},
          {{{"d"}, "Add", {"a", "b"}, {{"T", DT_FLOAT}}},
           {{"e"}, "Mul", {"d", "c"}, {{"T", DT_FLOAT}}},
           {{"f"}, "Add", {"e", "a"}, {{"T", DT_FLOAT}}},
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 09 08:24:16 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/flatbuffer_operator.cc

      }
      return builder->CreateVector(floatVec);
    }
    
    // F32Attr already returns a float as required by flatbuffer builders.
    static float ConvertF32AttrForOptionWriter(
        llvm::APFloat f, flatbuffers::FlatBufferBuilder* builder) {
      return f.convertToFloat();
    }
    
    // BoolAttr already returns a bool as required by flatbuffer builders.
    static bool ConvertBoolAttrForOptionWriter(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 38K bytes
    - Viewed (0)
  3. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtTypeInfoProvider.kt

        public val KaType.isByte: Boolean get() = withValidityAssertion { isClassTypeWithClassId(DefaultTypeClassIds.BYTE) }
        public val KaType.isFloat: Boolean get() = withValidityAssertion { isClassTypeWithClassId(DefaultTypeClassIds.FLOAT) }
        public val KaType.isDouble: Boolean get() = withValidityAssertion { isClassTypeWithClassId(DefaultTypeClassIds.DOUBLE) }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 08:26:19 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/force_xla_constants_on_host_pass_test.cc

      FunctionDefLibrary library;
    
      FunctionDef called_func =
          FunctionDefHelper::Create("TransposeCall",
                                    /*in_def=*/{"a:float", "b:int32"},
                                    /*out_def=*/{"c:float"}, {},
                                    {{{"t0"},
                                      "Transpose",
                                      {"a", "b"},
                                      {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. src/math/big/float.go

    // the number +0.0 exactly, with precision 0 and rounding mode [ToNearestEven].
    //
    // Operations always take pointer arguments (*Float) rather
    // than Float values, and each unique Float value requires
    // its own unique *Float pointer. To "copy" a Float value,
    // an existing (or newly allocated) Float must be set to
    // a new value using the [Float.Set] method; shallow copies
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 15:46:54 UTC 2024
    - 44.5K bytes
    - Viewed (0)
  6. src/go/types/basic.go

    type BasicInfo int
    
    // Properties of basic types.
    const (
    	IsBoolean BasicInfo = 1 << iota
    	IsInteger
    	IsUnsigned
    	IsFloat
    	IsComplex
    	IsString
    	IsUntyped
    
    	IsOrdered   = IsInteger | IsFloat | IsString
    	IsNumeric   = IsInteger | IsFloat | IsComplex
    	IsConstType = IsBoolean | IsNumeric | IsString
    )
    
    // A Basic represents a basic type.
    type Basic struct {
    	kind BasicKind
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/common/ir/UniformSupport.h

        }
        return APInt(storage_bit_width_, signless_result);
      }
    
      // Keep both APFloat and double versions of the quantization parameters
      // around since they will be used in generic and specialized arithmetic,
      // respectively.
      const APFloat scale_;
      const APFloat zero_point_;
      const APFloat clamp_min_;
      const APFloat clamp_max_;
    
      const double scale_double_;
      const double zero_point_double_;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 02:10:16 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  8. src/go/types/const.go

    		if isNumeric(x.typ) && isNumeric(typ) {
    			// numeric conversion : error msg
    			//
    			// integer -> integer : overflows
    			// integer -> float   : overflows (actually not possible)
    			// float   -> integer : truncated
    			// float   -> float   : overflows
    			//
    			if !isInteger(x.typ) && isInteger(typ) {
    				return nil, TruncatedFloat
    			} else {
    				return nil, NumericOverflow
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/transforms/dense_to_sparse.cc

      uint16_t raw_data = val.bitcastToAPInt().getZExtValue();
      return Eigen::numext::bit_cast<Eigen::half>(raw_data);
    }
    
    APFloat EigenHalfToAPFloat(const Eigen::half& val) {
      uint16_t raw_data = Eigen::numext::bit_cast<uint16_t>(val);
      return APFloat(APFloat::IEEEhalf(), APInt(16, raw_data));
    }
    
    void PopulateEncodingParams(const std::vector<int>& block_size,
                                std::vector<int>* traversal_order,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  10. src/go/internal/gcimporter/iimport.go

    		val = constant.MakeString(r.string())
    
    	case types.IsInteger:
    		var x big.Int
    		r.mpint(&x, b)
    		val = constant.Make(&x)
    
    	case types.IsFloat:
    		val = r.mpfloat(b)
    
    	case types.IsComplex:
    		re := r.mpfloat(b)
    		im := r.mpfloat(b)
    		val = constant.BinaryOp(re, token.ADD, constant.MakeImag(im))
    
    	default:
    		errorf("unexpected type %v", typ) // panics
    		panic("unreachable")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.2K bytes
    - Viewed (0)
Back to top