Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 647 for indices (0.23 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/host_runtime/tfrt_ops.cc

        }
      }
      return resource_vec;
    }
    
    LogicalResult _TfrtGetResourceOp::verify() {
      _TfrtGetResourceOp get_resource_op = *this;
      // The sizes of indices, shared_name and container must be equal.
      int32_t indices_size =
          get_resource_op->getAttrOfType<mlir::ArrayAttr>("indices").size();
      int32_t shared_name_size =
          get_resource_op->getAttrOfType<mlir::ArrayAttr>("shared_name").size();
      int32_t container_size =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/collection_ops_util.h

    // Gathers elements in buffer with the indices.
    Value GatherElements(Value indices, Value buffer, OpBuilder builder,
                         Location loc);
    
    // Scatters elements into buffer, where each scattered element is accumulated
    // with the old value in buffer.
    Value ScatterAccumulateElements(Value indices, Value updates, Value buffer,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 02 20:41:19 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  3. 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)
  4. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/util.h

                          ConversionPatternRewriter& rewriter);
    
    // If index_vector_dim == indices.rank() then insert the implicit extra
    // dimension into indices to normalize everything to index_vector_dim ==
    // indices.rank() - 1.
    LogicalResult NormalizeIndexVector(Operation* parent_op, Value& indices,
                                       ShapedType& indices_type,
                                       int64_t index_vector_dim,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Nov 08 11:35:25 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top