Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 376 for Indices (0.16 sec)

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

    // canonicalization because it is neither supported in the old bridge
    // nor in the reference TF implementation.
    def GatherToV2 : Pat<
      (TF_GatherOp:$src $params, $indices, $ignored_validate_indices),
      (TF_GatherV2Op:$dest $params, $indices, (TF_ConstOp (GetI32Attr<0>)),
        (GetI64Attr<0>)),
      [], [(CopyAttrs $src, $dest)]>;
    
    //===----------------------------------------------------------------------===//
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 06 18:42:28 UTC 2023
    - 17K bytes
    - Viewed (0)
  2. tensorflow/c/eager/unified_api_testutil.cc

      if (use_function) {
        const char* fn_name = "test_fn";
        core::RefCountPtr<AbstractFunction> scoped_func;
        // Returning null tensors from a tf.function is not supported, so we keep
        // track of indices in the model's outputs are nullptr in this set.
        // The FunctionDef only outputs the non-null tensors. We later pad the
        // function op outputs to have nullptrs at the `null_indices`.
        absl::flat_hash_set<int> null_indices;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 27 13:57:45 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/parsing/LightTreeUtil.kt

                            }
                            else -> 0
                        }
    
                    fun String.isValidIndex(index: Int) = index in indices
    
                    check(text.isValidIndex(offset))
    
                    val realStartIndex = offset + offsetRelativeIndexRange.first
                    check(text.isValidIndex(realStartIndex))
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:09 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  4. src/runtime/mpagealloc_32bit.go

    	"unsafe"
    )
    
    const (
    	// The number of levels in the radix tree.
    	summaryLevels = 4
    
    	// Constants for testing.
    	pageAlloc32Bit = 1
    	pageAlloc64Bit = 0
    
    	// Number of bits needed to represent all indices into the L1 of the
    	// chunks map.
    	//
    	// See (*pageAlloc).chunks for more details. Update the documentation
    	// there should this number change.
    	pallocChunksL1Bits = 0
    )
    
    // See comment in mpagealloc_64bit.go.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 20 20:08:25 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/logging/comparison/ExhaustiveLinesSearcher.java

            return true;
        }
    
        /**
         * Finds all the lines in the actual line that match any line in the expected list.
         *
         * @return a map of expected line index to a list of all actual line indices that match the expected line
         */
        private static Map<Integer, List<Integer>> findMatchingLines(List<String> expectedLines, List<String> actualLines) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc

              op.getLoc(), cast_type, clamp_min, cast_op, clamp_max);
          start_indices_vector.push_back(clamped_index);
        }
    
        // Pack individual start indices to start indices tensor.
        Type start_indices_type = RankedTensorType::get(
            {static_cast<int64_t>(start_indices_vector.size())},
            signed_start_indices_element_type);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 154.9K bytes
    - Viewed (0)
  7. src/go/types/call.go

    	"go/token"
    	. "internal/types/errors"
    	"strings"
    )
    
    // funcInst type-checks a function instantiation.
    // The incoming x must be a generic function.
    // If ix != nil, it provides some or all of the type arguments (ix.Indices).
    // If target != nil, it may be used to infer missing type arguments of x, if any.
    // At least one of T or ix must be provided.
    //
    // There are two modes of operation:
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf.mlir

    // -----
    
    // CHECK-LABEL: @gather_v2
    //  CHECK-SAME: %[[PARAMS:[a-zA-Z0-9_]+]]
    //  CHECK-SAME: %[[INDICES:[a-zA-Z0-9_]+]]
    func.func @gather_v2(%params: tensor<16x2x3xf32>, %indices: tensor<16x5xi32>) -> tensor<16x2x5xf32> {
      //      CHECK: mhlo.torch_index_select
      // CHECK-SAME:   %[[PARAMS]], %[[INDICES]]
      // CHECK-SAME:   batch_dims = 1
      // CHECK-SAME:   dim = 2
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 335.5K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2.kt

            FLAGS[prefixFlag or frameFlag or FLAG_PADDED] =
              FLAGS[prefixFlag] + '|'.toString() + FLAGS[frameFlag] + "|PADDED"
          }
        }
    
        for (i in FLAGS.indices) { // Fill in holes with binary representation.
          if (FLAGS[i] == null) FLAGS[i] = BINARY[i]
        }
      }
    
      /**
       * Returns a human-readable representation of HTTP/2 frame headers.
       *
       * The format is:
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/ir/tf_op_interfaces.h

                                  additional_attributes.end()) {}
    
      // Name of the output kernel implementing the contraction fusion.
      std::string output_kernel;
    
      // Indices of additional arguments that will be forwarded to the fused
      // operation (e.g. forward bias vector if fusing BiasAdd operation).
      SmallVector<int, 4> additional_arguments;
    
      // Add additional attributes to the fused node.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 03 19:26:14 UTC 2023
    - 6.5K bytes
    - Viewed (0)
Back to top