- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 260 for dim2 (0.04 sec)
-
platforms/software/platform-base/src/test/groovy/org/gradle/platform/base/internal/DefaultBinaryNamingSchemeTest.groovy
original.withRole("role", false).getOutputDirectory(new File(".")) == new File(".", "parent/role/dim1") original.withRole("role", true).getOutputDirectory(new File(".")) == new File(".", "parent/dim1") original.withBinaryName("binaryName").getOutputDirectory(new File(".")) == new File(".", "parent/binaryName") } def "ignores variant dimension with only one value"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 10K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/LongsTest.java
int dim1 = 1 << 16; int dim2 = 1 << 15; assertThat(dim1 * dim2).isLessThan(0); testConcat_overflow(dim1, dim2); } @GwtIncompatible // different overflow behavior; could probably be made to work by using ~~ public void testConcat_overflow_nonNegative() { int dim1 = 1 << 16; int dim2 = 1 << 16; assertThat(dim1 * dim2).isAtLeast(0);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 20 17:00:05 UTC 2024 - 30K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/LongsTest.java
int dim1 = 1 << 16; int dim2 = 1 << 15; assertThat(dim1 * dim2).isLessThan(0); testConcat_overflow(dim1, dim2); } @GwtIncompatible // different overflow behavior; could probably be made to work by using ~~ public void testConcat_overflow_nonNegative() { int dim1 = 1 << 16; int dim2 = 1 << 16; assertThat(dim1 * dim2).isAtLeast(0);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 20 17:00:05 UTC 2024 - 30K bytes - Viewed (0) -
tensorflow/compiler/aot/codegen_test_h.golden
} float& arg0(size_t dim0, size_t dim1) { return (*static_cast<float(*)[1][2]>( arg_data(0)))[dim0][dim1]; } const float* arg0_data() const { return static_cast<const float*>(arg_data(0)); } const float& arg0(size_t dim0, size_t dim1) const { return (*static_cast<const float(*)[1][2]>( arg_data(0)))[dim0][dim1]; } int arg0_size() const {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 01:20:01 UTC 2024 - 16.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_traits.h
return a; } int64_t rank = a.getRank(); SmallVector<int64_t, 4> dims; dims.resize(rank); for (int i = 0, e = rank; i != e; i++) { int64_t dim0 = a.getDimSize(i); int64_t dim1 = b.getDimSize(i); dims[i] = (dim0 == ShapedType::kDynamic) ? dim1 : dim0; } return RankedTensorType::get(dims, a.getElementType()); } } // namespace detail
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 12.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/mlir_roundtrip_flags.cc
absl::string_view node_shapes_str) { std::vector<int> dims; for (absl::string_view dim_str : absl::StrSplit(node_shapes_str, ',')) { // Treats empty input shape as scalar if (dim_str.empty()) continue; if (dim_str == "?") { dims.push_back(-1); continue; } int size; TF_RET_CHECK(absl::SimpleAtoi(dim_str, &size)); dims.push_back(size); } return dims; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 10.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/optimize.cc
auto dim_nums = first_dot.getDotDimensionNumbers(); return llvm::is_contained(dim_nums.getLhsBatchingDimensions(), dim) || llvm::is_contained(dim_nums.getLhsContractingDimensions(), dim); }; // dot_general outputs are always in the // [batch dims, LHS other dims, RHS other dims] // layout, so the new concat dim is where the n-th (base-0 counting) LHS other
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 26.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/convert_type_test.cc
namespace tensorflow { namespace { std::string ConvertToMlirString(const std::vector<int64_t>& dims, bool unknown_rank, DataType dtype) { TensorShapeProto shape; shape.set_unknown_rank(unknown_rank); for (int64_t dim : dims) { shape.add_dim()->set_size(dim); } mlir::MLIRContext context; mlir::Builder b(&context);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 2.2K bytes - Viewed (0) -
tensorflow/c/kernels_test.cc
// Allocate output TF_Status* s = TF_NewStatus(); int64_t dim = 1; size_t tensor_size_bytes = TF_DataTypeSize(TF_FLOAT); TF_Tensor* output = TF_AllocateOutput( /*context=*/ctx, /*index=*/0, /*dtype=*/TF_FLOAT, /*dims=*/&dim, /*num_dims=*/1, /*len=*/tensor_size_bytes, s); validate_tensor(output, &dim, 1, TF_FLOAT); // Set output to 3 float values[1] = {3.0f};
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 50.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc
for (const auto &item : llvm::enumerate(dims)) { int64_t index = item.index(); int64_t dim = item.value().getSExtValue(); if (dim < 0 || dim > output_rank) { return emitOptionalError(location, "out of range broadcast dim"); } if (is_broadcasted[dim]) { return emitOptionalError(location, "broadcast_dims has duplicates"); } broadcast_shape[dim] = min_rank_ty.getDimSize(index);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 22:07:10 UTC 2024 - 170.8K bytes - Viewed (0)