Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for zipsum (0.12 sec)

  1. src/cmd/go/internal/modfetch/coderepo_test.go

    					if needHash {
    						sum, err := dirhash.HashZip(zipfile, dirhash.Hash1)
    						if err != nil {
    							t.Errorf("repo.Zip(%q): %v", tt.version, err)
    						} else if sum != tt.zipSum {
    							t.Errorf("repo.Zip(%q): got file with sum %q, want %q", tt.version, sum, tt.zipSum)
    						} else if zipFileHash := hex.EncodeToString(h.Sum(nil)); zipFileHash != tt.zipFileHash {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 18 20:10:14 UTC 2023
    - 29.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/einsum.mlir

    // RUN: tf-opt -split-input-file -verify-diagnostics -tf-einsum %s | FileCheck %s
    
    func.func @unary_einsum_reduce_sum_transpose(%arg0: tensor<3x4x5x6xf32>) -> tensor<3x5x4xf32> {
      %0 = "tf.Einsum"(%arg0) {T = "tfdtype$DT_FLOAT", equation = "...gse->...sg"}: (tensor<3x4x5x6xf32>) -> tensor<3x5x4xf32>
      func.return %0 : tensor<3x5x4xf32>
      // CHECK-LABEL: unary_einsum_reduce_sum_transpose
      // CHECK-DAG: %[[cst:.*]] = arith.constant dense<3> : tensor<1xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 05 18:35:42 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/einsum.cc

    }
    
    struct EinsumDimensionNumbers {
      // Each field contains the list of dimensions appearing only in the specifed
      // arguments of the einsum op with natural ordering. For example `rhs_out`
      // contains the dimensions appearing in the RHS and the OUTPUT of the einsum
      // but not in the LHS.
      std::vector<int64_t> lhs;
      std::vector<int64_t> rhs;
      std::vector<std::tuple<int64_t, int64_t>> lhs_rhs;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  4. tensorflow/cc/gradients/linalg_grad.cc

      // Claim: For the einsum operation z = einsum("{eq_x},{eq_y}->{eq_z}", x, y),
      //   where the equation involves only Tensor contractions, generalized traces
      //   and transposes, the input gradients are given by the vector-jacobian
      //   products (VJPs):
      //
      //     grad_wrt_x = einsum("{eq_y},{eq_z}->{eq_x}", y, grad_wrt_z)
      //     grad_wrt_y = einsum("{eq_x},{eq_z}->{eq_y}", x, grad_wrt_z}
      //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 07 23:11:54 UTC 2022
    - 20.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/passes/replace_cast_hacks_with_tf_xla_ops.td

      [], (addBenefit 10)>;
    
    // Converts inlined Einsum pattern to TF XlaDotV2 op.
    def ConvertTFEinsumToXLADotV2Op : Pat<
      (TF_EinsumOp:$einsum
        $args, $equation),
      (CreateXlaDotV2OpFromTfEinsumOp
        $equation, $args, $einsum),
      [(IsInt32ElementType $einsum),
       // Constraint to check:
       // 1. The einsum has two inputs and one output.
       // 2. The einsum is not created by the convert function itself.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Dec 10 05:52:02 UTC 2023
    - 21.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/passes/replace_cast_hacks_with_tf_xla_ops.cc

      if (!value_type.hasRank()) return false;
      if (!value_type.getElementType().isInteger(integer_width)) return false;
    
      return true;
    }
    
    // Constraint to check:
    // 1. The einsum has two inputs and one output.
    // 2. The einsum is not created by the convert function itself.
    // 3. Both inputs are int32 tensor.
    // 4. Both inputs have the graph ancestor of either const-(sub), or cast-sub.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  7. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestFileHelper.groovy

            // Check that each directory in hierarchy is present
            file.withInputStream { InputStream instr ->
                def dirs = [] as Set
                def zipStr = new ZipInputStream(instr)
                def entry
                while (entry = zipStr.getNextEntry()) {
                    if (entry.directory) {
                        assertTrue("Duplicate directory '$entry.name'", dirs.add(entry.name))
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/MissingTaskDependenciesIntegrationTest.groovy

            settingsFile """
                include "dist"
                include "lib"
            """
    
            file("dist/build.gradle").text = """
                abstract class ZipSrc extends DefaultTask {
                    @Internal
                    int countResolved
    
                    @Internal
                    abstract DirectoryProperty getSources()
    
                    @InputFiles
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 08:14:44 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test_base.py

                tensor_spec.TensorSpec(
                    shape=shape, dtype=dtypes.float32, name='input_tensor'
                )
            ),
        )
        return model
    
      # Prepares sample einsum input data shapes.
      # This function returns:
      # 1. Shape for input 1
      # 2. Shape for input 2
      # 3. Shape for bias
      # 4. Signature for input 1 (Could contain None dimension)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_quantizable_spots_as_functions.cc

          }
    
          if (!is_weight_constant) {
            if (!function_name.contains("matmul") &&
                !function_name.contains("einsum")) {
              return absl::InternalError(
                  "Non-constant weights are not supported at the moment,"
                  " except matmul and einsum.");
            } else if (!quant_options_.enable_two_input_tensors() &&
                       !is_unitwise_quantization_enabled) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 16.4K bytes
    - Viewed (0)
Back to top