Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 128 for getUnit (0.12 sec)

  1. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

          const int64_t dilation = get_int(dilations[dim]);
          rhs_dilations.push_back(dilation);
          const int64_t stride = get_int(strides[dim]);
          window_strides.push_back(stride);
    
          Value pad_low, pad_high;
          if (padding == tensorflow::Padding::EXPLICIT) {
            pad_low = get_const(get_int(explicit_paddings[2 * dim]));
            pad_high = get_const(get_int(explicit_paddings[2 * dim + 1]));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
  2. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/measure/DataSeries.java

            average = total.div(size());
            this.min = min;
            this.max = max;
    
            BigDecimal sumSquares = BigDecimal.ZERO;
            Units<Q> baseUnits = average.getUnits().getBaseUnits();
            BigDecimal averageValue = average.toUnits(baseUnits).getValue();
            for (Amount<Q> amount : this) {
                BigDecimal diff = amount.toUnits(baseUnits).getValue();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/cluster_traffic_policy_test.go

    				}
    				if got := ctx.CommonTlsContext.GetAlpnProtocols(); got != nil {
    					t.Fatalf("expected alpn list nil as not h2 or Istio_Mutual TLS Setting; got %v", got)
    				}
    				if got := ctx.GetSni(); got != simpleTLSSettingsWithCerts.Sni {
    					t.Fatalf("expected TLSContext SNI %v; got %v", simpleTLSSettingsWithCerts.Sni, got)
    				}
    			},
    		},
    		{
    			name:          "user specified mutual tls",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 03:53:05 UTC 2024
    - 9K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api-builders/src/main/java/org/gradle/tooling/internal/provider/runner/FileDownloadOperationMapper.java

                OperationProgressDetails details = (OperationProgressDetails) progressEvent.getDetails();
                return new DefaultStatusEvent(progressEvent.getTime(), descriptor, details.getProgress(), details.getTotal(), details.getUnits());
            } else {
                return null;
            }
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  5. tests/fuzz/pilot_security_fuzzer.go

    	}
    	_ = matcher.HostMatcher(k, v)
    	return 1
    }
    
    func FuzzMetadataListMatcher(data []byte) int {
    	f := fuzz.NewConsumer(data)
    	filter, err := f.GetString()
    	if err != nil {
    		return 0
    	}
    	number, err := f.GetInt()
    	if err != nil {
    		return 0
    	}
    	maxKeys := number % 100
    	keys := make([]string, 0, maxKeys)
    	for i := 0; i < maxKeys; i++ {
    		key, err := f.GetString()
    		if err != nil {
    			return 0
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Nov 20 22:15:12 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/api/internal/project/antbuilder/AntBuilderDelegate.java

            this.originalBuilder = builder;
            this.builder = DynamicObjectUtil.asDynamicObject(builder);
            this.antlibClassLoader = antlibClassLoader;
        }
    
        public AntBuilderDelegate getAnt() {
            return this;
        }
    
        public void taskdef(Map<String, String> args) {
            Set<String> argNames = args.keySet();
            if (argNames.equals(ImmutableSet.of("name", "classname"))) {
                try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 10 10:55:07 UTC 2022
    - 4.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/tpu_partitioned_op_conversion.cc

                               << partition_dim << ".";
      }
    
      llvm::SmallVector<int64_t, 4> partition_dims(is_replicated ? 0 : rank, 1);
      if (!is_replicated) {
        partition_dims[partition_dim] = num_cores_per_replica.getInt();
      }
    
      if constexpr (is_input) {
        auto pi = builder.create<TF::TPUPartitionedInputV2Op>(
            op.getLoc(), op.getType(), op.getOperands(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  8. istioctl/pkg/clioptions/central.go

    		"XDS Endpoint certificate directory")
    	cmd.PersistentFlags().StringVar(&o.XdsPodLabel, "xds-label", "",
    		"Istiod pod label selector")
    	cmd.PersistentFlags().IntVar(&o.XdsPodPort, "xds-port", viper.GetInt("XDS-PORT"),
    		"Istiod pod port")
    	cmd.PersistentFlags().DurationVar(&o.Timeout, "timeout", time.Second*30,
    		"The duration to wait before failing")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 06 03:39:27 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/annotate_parameter_replication.cc

        if (mirrored_variable_indices_attr) {
          for (const auto& mirrored_index : mirrored_variable_indices_attr) {
            mirrored_replicate_args.insert(
                mlir::cast<IntegerAttr>(mirrored_index).getInt());
          }
        }
        auto func =
            llvm::cast<func::FuncOp>(m.lookupSymbol(cluster_func.getFunc()));
        for (auto entry : llvm::enumerate(cluster_func.getOperands())) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/utils/export_utils.cc

      value->set_b(attr.getValue());
      return absl::OkStatus();
    }
    
    Status ConvertAttribute(const mlir::IntegerAttr& attr, AttrValue* value) {
      value->set_i(attr.getInt());
      return absl::OkStatus();
    }
    
    Status ConvertAttribute(const mlir::FloatAttr& attr, AttrValue* value) {
      value->set_f(attr.getValueAsDouble());
      return absl::OkStatus();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 19.7K bytes
    - Viewed (0)
Back to top