- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 116 for testvalues (0.25 sec)
-
tensorflow/compiler/mlir/lite/stablehlo/transforms/optimize.cc
auto low_pads = pad_op.getEdgePaddingLow().getValues<IntegerAttr>(); auto parent_low_pads = parent_pad.getEdgePaddingLow().getValues<IntegerAttr>(); auto high_pads = pad_op.getEdgePaddingHigh().getValues<IntegerAttr>(); auto parent_high_pads = parent_pad.getEdgePaddingHigh().getValues<IntegerAttr>(); auto interior_pads = pad_op.getInteriorPadding().getValues<IntegerAttr>(); auto parent_interior_pads =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 26.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/types_test.go
} expT, err := mp.ExprType() if err != nil { t.Errorf("fail to get cel type: %s", err) } if expT.GetMapType() == nil { t.Errorf("got %v, wanted CEL map type", expT) } } func testValue(t *testing.T, id int64, val interface{}) *DynValue { t.Helper() dv, err := NewDynValue(id, val) if err != nil { t.Fatalf("NewDynValue(%d, %v) failed: %v", id, val, err) } return dv
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 10 22:05:55 UTC 2022 - 2.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_utils.cc
namespace odml { DenseIntElementsAttr DenseI64AttrToI32Attr( const DenseIntElementsAttr& dense_attr, PatternRewriter& builder) { std::vector<int32_t> ret(dense_attr.getNumElements()); auto range = dense_attr.getValues<int64_t>(); std::transform(range.begin(), range.end(), ret.begin(), [](int64_t attr) { return static_cast<int32_t>(attr); }); return DenseIntElementsAttr::get(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 29 18:33:05 UTC 2024 - 3.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/odml_converter/folders.cc
} auto const_oprs = adaptor.value().OperandData(); const bool lhs_splat = const_oprs[0].isSplat(); const bool rhs_splat = const_oprs[1].isSplat(); auto lhs_vals = const_oprs[0].getValues<ResultType>(); auto rhs_vals = const_oprs[1].getValues<ResultType>(); const auto num_results = std::max(lhs_vals.size(), rhs_vals.size()); std::vector<ResultType> res; res.reserve(num_results); auto lhs_start = lhs_vals.begin();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 08 06:11:55 UTC 2024 - 4.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc
if (!matchPattern(op.getS0(), m_Constant(&s0))) return false; if (!matchPattern(op.getS1(), m_Constant(&s1))) return false; for (auto s : s0.getValues<APInt>()) s0_shape.push_back(s.getSExtValue()); for (auto s : s1.getValues<APInt>()) s1_shape.push_back(s.getSExtValue()); return true; } // Calculates r0 & r1 output based on inputs and calculated broadcasted shape. //
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 146.7K bytes - Viewed (0) -
platforms/core-runtime/cli/src/main/java/org/gradle/cli/AbstractPropertiesCommandLineConverter.java
@Override public Map<String, String> convert(ParsedCommandLine options, Map<String, String> properties) throws CommandLineArgumentException { for (String keyValueExpression : options.option(getPropertyOption()).getValues()) { int pos = keyValueExpression.indexOf("="); if (pos < 0) { properties.put(keyValueExpression, ""); } else {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 26 14:58:23 UTC 2024 - 1.8K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/tasks/options/SingleValueOptionElement.java
@Override public Set<String> getAvailableValues() { ValueCollectingDiagnosticsVisitor visitor = new ValueCollectingDiagnosticsVisitor(); notationParser.describe(visitor); return visitor.getValues(); } @Override public void apply(Object object, List<String> parameterValues) throws TypeConversionException { Object arg = notationParser.parseNotation(parameterValues.get(0));
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 10:39:11 UTC 2019 - 2K bytes - Viewed (0) -
subprojects/diagnostics/src/integTest/groovy/org/gradle/api/reporting/model/ModelReportIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 13:32:55 UTC 2024 - 22K bytes - Viewed (0) -
platforms/core-runtime/cli/src/main/java/org/gradle/cli/ParsedCommandLineOption.java
} if (values.size() > 1) { throw new IllegalStateException("Option has multiple values."); } return values.get(0); } public List<String> getValues() { return values; } public void addArgument(String argument) { values.add(argument); } public boolean hasValue() { return !values.isEmpty(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:00:57 UTC 2023 - 1.3K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/exceptions/ValueCollectingDiagnosticsVisitor.java
import java.util.TreeSet; public class ValueCollectingDiagnosticsVisitor implements DiagnosticsVisitor { private final TreeSet<String> values = new TreeSet<String>(); public SortedSet<String> getValues() { return values; } @Override public DiagnosticsVisitor candidate(String displayName) { return this; } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 1.3K bytes - Viewed (0)