Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 92 for Indices (0.12 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/tf_op_interfaces.td

          /*methodBody=*/[{
            return $_op.getDataFormat();
        }]>,
        InterfaceMethod<
          [{Returns indices of layout dependent arguments.}],
          "SmallVector<unsigned, 4>", "GetLayoutDependentArgs", (ins)
        >,
        InterfaceMethod<
          [{Returns indices of layout dependent results.}],
          "SmallVector<unsigned, 4>", "GetLayoutDependentResults", (ins)
        >,
        InterfaceMethod<
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Nov 30 19:07:07 UTC 2022
    - 6.2K bytes
    - Viewed (0)
  2. tensorflow/c/kernels_experimental.h

    #endif
    
    typedef struct TF_VariableInputLockHolder TF_VariableInputLockHolder;
    
    // Expose higher level Assignment operation for Pluggable vendors to implement
    // in the plugin for Training. The API takes in the context with indices for
    // the input and value tensors. It also accepts the copy callback provided by
    // pluggable vendor to do the copying of the tensors. The caller takes ownership
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 07 14:44:39 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/-HeadersCommon.kt

      require(name.isNotEmpty()) { "name is empty" }
      for (i in name.indices) {
        val c = name[i]
        require(c in '\u0021'..'\u007e') {
          "Unexpected char 0x${c.charCode()} at $i in header name: $name"
        }
      }
    }
    
    internal fun headersCheckValue(
      value: String,
      name: String,
    ) {
      for (i in value.indices) {
        val c = value[i]
        require(c == '\t' || c in '\u0020'..'\u007e') {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/variable_info_util.h

    // initialized, the value will not be present.
    using ResourceVarsSnapshot = absl::flat_hash_map<int, std::optional<Tensor>>;
    
    // Takes a snapshot of the values of resource variable arguments, whose indices
    // are specified in `variable_indices` argument. We snapshot tensors that back
    // resource variables since concurrent updates may modify the shape, and it is
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 14 21:57:02 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_tensor_helper.cc

      if (!ranked_ty) return UnrankedTensorType::get(element_ty);
      int64_t rank = ranked_ty.getRank();
    
      DenseIntElementsAttr indices;
      if (!matchPattern(reduction_indices, m_Constant(&indices))) {
        // Output type is unranked if reduction indices are not constant and reduced
        // dimensions are not kept.
        if (!keep_dims.getValue()) return UnrankedTensorType::get(element_ty);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_quantizable_spots_as_functions_drq.td

      [(IsNotInLiftedFunc $res), (IsConstTensor $b)], [], (addBenefit 1)>;
    
    def LiftGather : Pat<
      (TF_GatherV2Op:$res $params, $indices, $axis, $batch_dims),
      (LiftAsTFPartitionedCall<"composite_gather_fn">
        (ArgumentList $params, $indices, $axis),
        (ResultList $res),
        (NamedAttributeList
          (NamedAttr<"batch_dims"> $batch_dims))),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Dec 10 05:52:02 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_tpu_ops.td

        $constant_operand_indices are the indices of the inputs that are constant to the TPU program (e.g. weights in inference), the rest of the inputs are input tensors.
        constant_operand_indices is sorted in ascending order.
        $operands_with_static_shape are indices of operands that are tagged with a maximum static shape.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 04 21:25:31 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  8. src/runtime/mpagealloc_64bit.go

    	// of summary indices which must be mapped to support those addresses
    	// in the summary range.
    	addrRangeToSummaryRange := func(level int, r addrRange) (int, int) {
    		sumIdxBase, sumIdxLimit := addrsToSummaryRange(level, r.base.addr(), r.limit.addr())
    		return blockAlignSummaryRange(level, sumIdxBase, sumIdxLimit)
    	}
    
    	// summaryRangeToSumAddrRange converts a range of indices in any
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 03 11:00:10 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/aot/tests/make_test_graphs.py

      z = cond.cond(p, lambda: x, lambda: y)
      array_ops.identity(z, name='result')
    
    
    def tfgather(_):
      params = array_ops.placeholder(dtypes.float32, name='params')
      indices = array_ops.placeholder(dtypes.int32, name='indices')
      array_ops.gather(params, indices, name='gather_output')
    
    
    def tfmatmul(_):
      x = array_ops.placeholder(dtypes.float32, name='x_hold')
      y = array_ops.placeholder(dtypes.float32, name='y_hold')
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 15 15:25:23 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tfrt/ir/gpu_ops.td

      let description = [{
        The op compiles and executes a GPU cluster function.
    
        func_name is the name of the function to be executed on GPU.
        resource_indices are the indices of inputs that are resources.
        used_output_indices are the indices of outputs that have users.
    
        Example:
          %results = gpurt.compile_and_execute {func_name = "xla_func_0", resource_indices = [1] ...}
      }];
    
      let arguments = (ins
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 18 15:01:21 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top