Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 451 for dim2 (0.71 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. src/math/dim.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package math
    
    // Dim returns the maximum of x-y or 0.
    //
    // Special cases are:
    //
    //	Dim(+Inf, +Inf) = NaN
    //	Dim(-Inf, -Inf) = NaN
    //	Dim(x, NaN) = Dim(NaN, x) = NaN
    func Dim(x, y float64) float64 {
    	// The special cases result in NaN after the subtraction:
    	//      +Inf - +Inf = NaN
    	//      -Inf - -Inf = NaN
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 15 19:45:12 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  6. 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)
  7. tensorflow/c/kernels/bitcast_op.cc

        }
      }
    
      if (TF_GetCode(status) == TF_OK) {
        auto* dims = new int64_t[dim_count + 1];
        int new_dim_count = dim_count;
        for (int dim = 0; dim < dim_count; ++dim) {
          dims[dim] = TF_Dim(tensor, dim);
        }
        if (k->out_size < k->in_size) {
          dims[new_dim_count++] = static_cast<int64_t>(k->in_size / k->out_size);
        } else if (k->out_size > k->in_size) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 31 03:28:11 UTC 2021
    - 5.9K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top