Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 93 for getUnit (0.39 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_ops_to_mhlo.cc

          padding_nums.push_back(padding_elem.getInt());
        }
      } else if (conv_padding.strref() == "VALID") {
        padding_nums.resize(padding_nums_size, 0);
      } else {
        padding_nums.resize(padding_nums_size);
        for (int i = 0; i < dnums.input_spatial_dimensions_size(); ++i) {
          const int64_t stride =
              mlir::cast<IntegerAttr>(op.getWindowStridesAttr()[i]).getInt();
          const int64_t lhs_size_dilated =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. tensorflow/compiler/mlir/tensorflow/transforms/functional_control_flow_to_regions.cc

              generator_op, generator_op.getFinalizeFunc());
    
      if (!init_function || !next_function || !finalize_function) {
        return failure();
      }
    
      CreateCall(generator_op, init_function, generator_region.getInit(),
                 generator_region.getInitFuncOtherArgs(),
                 /*use_region_args=*/true, /*forward_block_args=*/false);
      CreateCall(generator_op, next_function, generator_region.getNext(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11K bytes
    - Viewed (0)
  9. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/measure/Amount.java

        public String toString() {
            if (cachedToString == null) {
                cachedToString = value + " " + units.format(value);
            }
            return cachedToString;
        }
    
        public Units<Q> getUnits() {
            return units;
        }
    
        public BigDecimal getValue() {
            return value;
        }
    
        /**
         * Returns a human consumable string representation of this amount.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_variable_runtime_reformatting.cc

        auto arg_metadata = metadata.mutable_args(arg_index);
        if (arg_metadata->enable_xla_sharding() ==
            ::tensorflow::tpu::TPUCompileMetadataProto_Arg::ALLOWED) {
          int64_t ret_index =
              mlir::cast<IntegerAttr>(
                  execute.getDeviceVarUpdatesIndices().getValue()[entry.index()])
                  .getInt();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21.9K bytes
    - Viewed (0)
Back to top