Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for dim2 (0.12 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.td

    // $1.
    // Requires $0 to be of RankedTensorType with rank greater than `dim` and the
    // dimension should be known.
    class GetDimSizeOfType<int dim> : NativeCodeCall<
      "GetScalarOfType(getElementTypeOrSelf($1), "
      "$0.getType().cast<RankedTensorType>().getDimSize(" # dim # "))">;
    
    // Same as the above with i32 element type.
    class GetDimSizeAsI32<int dim> : NativeCodeCall<
      "GetScalarOfType($_builder.getIntegerType(32), "
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 04 13:30:42 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

          // the same because all strides are 1).
          low_padding[dim] =
              conv_grad_spatial_dim.pad_before - orig_padding[dim].first;
          high_padding[dim] =
              conv_grad_spatial_dim.pad_after - orig_padding[dim].second;
    
          // Update `out_grad_shape` to result shape of following `PadOp`.
          out_grad_shape[dim] = low_padding[dim] + high_padding[dim] +
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (1)
  3. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

      llvm::SmallVector<int64_t, 4> dims;
      dims.reserve(lhs.getRank());
      for (auto dim : llvm::zip(lhs.getShape(), rhs.getShape())) {
        int64_t lhs_dim = std::get<0>(dim);
        if (lhs_dim == std::get<1>(dim)) {
          dims.push_back(lhs_dim);
        } else {
          dims.push_back(ShapedType::kDynamic);
        }
      }
      return tensorflow::GetTypeFromTFTensorShape(
          dims, GetElementTypeFromOperand(lhs, rhs));
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

    // Returns true if the n-th operand is ranked and has rank dim.
    class TFL_OperandHasKnownRank<int n, int dim> : And<[
      CPred<"$_op.getOperand(" # n # ").getType().isa<RankedTensorType>()">,
      CPred<"$_op.getOperand(" # n # ").getType().cast<ShapedType>().getRank() == "
        # dim>]>;
    
    // True if operand n is ranked and has a rank > dim.
    class TFL_OperandIsRankedAndHasDimPred<int n, int dim> : And<[
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
  5. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FileCollectionIntegrationTest.groovy

                sourceDirs.srcDirs("dir1", "dir2")
                fileCollection.from(sourceDirs.srcDirTrees)
                println("files = \${fileCollection.files.name.sort()}")
            """
    
            given:
            file("dir1/file1").createFile()
            file("dir1/file2").createFile()
            file("dir2/sub/file3").createFile()
    
            expect:
            succeeds()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 12:54:09 UTC 2024
    - 21K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheTaskSerializationIntegrationTest.groovy

                    propValue = layout.projectDir.dir("dir2")
                }
            """
    
            when:
            configurationCacheRun "ok"
            configurationCacheRun "ok"
    
            then:
            outputContains("value = ${file("dir1")}")
            outputContains("value.child = ${file("dir1/child")}")
            outputContains("propValue = ${file("dir2")}")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/internal/classpath/DefaultCachedClasspathTransformerTest.groovy

            jar(file)
            def dir2 = testDir.file("thing2.dir")
            classesDir(dir2)
            def file2 = testDir.file("thing2.jar")
            jar(file2)
            def dir3 = testDir.file("thing3.dir")
            classesDir(dir3)
            def file3 = testDir.file("thing3.jar")
            jar(file3)
            def classpath = DefaultClassPath.of(dir, file, dir2, file2, dir3, file3)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/transforms/legalize_patterns.td

    def LegalizeArgMax : Pat<(TF_ArgMaxOp $input, $dim),
                             (TFL_ArgMaxOp $input, $dim)>;
    def LegalizeArgMin : Pat<(TF_ArgMinOp $input, $dim),
                             (TFL_ArgMinOp $input, $dim)>;
    
    def LegalizeBroadcastTo : Pat<(TF_BroadcastToOp $input, $dim),
                                  (TFL_BroadcastToOp $input, $dim)>;
    
    def LegalizeCeil : Pat<(TF_CeilOp $arg), (TFL_CeilOp $arg)>;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 04 13:30:42 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

    # tensor 't' shape is [1, 2, 3, 4]
    
    # 'dims' is [3] or 'dims' is [-1]
    reverse(t, dims) ==> [[[[ 3,  2,  1,  0],
                            [ 7,  6,  5,  4],
                            [ 11, 10, 9, 8]],
                           [[15, 14, 13, 12],
                            [19, 18, 17, 16],
                            [23, 22, 21, 20]]]]
    
    # 'dims' is '[1]' (or 'dims' is '[-3]')
    reverse(t, dims) ==> [[[[12, 13, 14, 15],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
  10. build/dependencies.yaml

          match: registry.k8s.io/node-problem-detector/node-problem-detector
        - path: cluster/addons/node-problem-detector/npd.yaml
          match: app.kubernetes.io/version
        # TODO(dims): Ensure newer versions get uploaded to
        # - https://console.cloud.google.com/storage/browser/gke-release/winnode/node-problem-detector
        # - https://gcsweb.k8s.io/gcs/kubernetes-release/node-problem-detector/
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 16:13:15 UTC 2024
    - 12.3K bytes
    - Viewed (0)
Back to top