Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 153 for getUnit (0.14 sec)

  1. tensorflow/compiler/mlir/lite/transforms/prepare_composite_functions_tf.cc

          fbb.Float(attr.first.data(), float_attr.getValue().convertToFloat());
        } else if (auto int_attr =
                       mlir::dyn_cast_or_null<IntegerAttr>(attr.second)) {
          fbb.Int(attr.first.data(), int_attr.getInt());
        } else if (auto bool_attr = mlir::dyn_cast_or_null<BoolAttr>(attr.second)) {
          fbb.Bool(attr.first.data(), bool_attr.getValue());
        } else if (auto string_attr =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfr/ir/tfr_ops.cc

            ge_op.getTensorList().getDefiningOp());
        if (!preceding_build_list ||
            preceding_build_list.getNumOperands() <= index.getInt()) {
          return failure();
        }
        Value input = preceding_build_list.getOperand(index.getInt());
        Type output_type = ge_op.getType();
        if (input.getType() != output_type &&
            !output_type.isa<UnrankedTensorType>()) {
          return failure();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Nov 21 16:55:41 UTC 2023
    - 38.2K bytes
    - Viewed (0)
  3. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/delegates/ProjectDelegate.kt

        @Deprecated("Use layout.buildDirectory instead", ReplaceWith("layout.buildDirectory.get().asFile"))
        override fun getBuildDir(): File =
            @Suppress("DEPRECATION")
            delegate.buildDir
    
        override fun getAnt(): AntBuilder =
            delegate.ant
    
        override fun getVersion(): Any =
            delegate.version
    
        override fun getRootProject(): Project =
            delegate.rootProject
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 22:16:16 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfr/passes/decompose.cc

    IntegerAttr Quantize(float value, Attribute scale_attr, Attribute zp_attr,
                         OpBuilder builder) {
      double scale = mlir::cast<FloatAttr>(scale_attr).getValueAsDouble();
      int64_t zp = mlir::cast<IntegerAttr>(zp_attr).getInt();
    
      int quantized = static_cast<int>(std::round(value / scale) + zp);
      quantized =
          std::min(quantized, static_cast<int>(std::numeric_limits<int8_t>::max()));
      quantized =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/transforms/post_quantize.cc

        SmallVector<int32_t, 4> perm;
        SmallVector<int64_t, 4> output_shape;
        for (int i = 0; i < num_dimensions; ++i) {
          perm.push_back(perm_tensor.getValues<IntegerAttr>()[i].getInt());
          output_shape.push_back(input_shape[perm[i]]);
    
          // Check that the derived output shape matches the static shape.
          assert(!output_type.hasStaticShape() ||
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_cluster_formation.cc

            cluster_metadata->getSecond().get(kNumCoresPerReplicaAttr));
        if (num_cores_per_replica_attr)
          num_cores_per_replica = num_cores_per_replica_attr.getInt();
        if (failed(ReplicateCluster(cluster,
                                    num_replicas.cast<mlir::IntegerAttr>().getInt(),
                                    num_cores_per_replica)))
          return mlir::failure();
    
        // Copy TPUReplicateMetadata attributes to `tf_device.cluster`.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 22:03:30 UTC 2024
    - 39.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/http/NetworkExplorer.java

            realm = Config.getProperty("jcifs.smb1.http.basicRealm");
            if (realm == null) realm = "jCIFS";
            defaultDomain = Config.getProperty("jcifs.smb1.smb.client.domain");
    
            if(( level = Config.getInt( "jcifs.smb1.util.loglevel", -1 )) != -1 ) {
                LogStream.setLevel( level );
            }
            if( log.level > 2 ) {
                try {
                    Config.store( log, "JCIFS PROPERTIES" );
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Wed Jan 22 03:57:31 UTC 2020
    - 19.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/region_control_flow_to_functional.cc

          CollectExternValues(regional.getRegions());
    
      if (!extern_values.empty()) return failure();
    
      init_name = GetName(regional, "_init");
      init_name = ExtractSingleBlockRegion(symbol_table, regional.getInit(),
                                           init_name, extern_values, worklist,
                                           /*extern_values_passthrough=*/false,
                                           /*only_one_return_value=*/false,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  9. cmd/endpoint-ellipses.go

    	if len(args) == 0 {
    		return errInvalidArgument
    	}
    
    	ok := true
    	for _, arg := range args {
    		ok = ok && !ellipses.HasEllipses(arg)
    	}
    
    	var setArgs [][]string
    
    	v, err := env.GetInt(EnvErasureSetDriveCount, 0)
    	if err != nil {
    		return err
    	}
    	setDriveCount := uint64(v)
    
    	// None of the args have ellipses use the old style.
    	if ok {
    		setArgs, err = GetAllSets(setDriveCount, args...)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/authoring-builds/other/ant.adoc

    WARNING: Ant integration is not fully compatible with the <<configuration_cache.adoc#config_cache,configuration cache>>.
    Using link:{javadocPath}/org/gradle/api/Task.html#getAnt--[Task.ant] to run Ant task in the task action may work, but importing the Ant build is not supported.
    
    [[sec:ant_api]]
    The Ant integration is provided by the link:{javadocPath}/org/gradle/api/AntBuilder.html[AntBuilder API].
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 15:23:52 UTC 2024
    - 13.1K bytes
    - Viewed (0)
Back to top