Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for GetData (0.16 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

      llvm::SmallDenseSet<int64_t, 8> index_values;
      bool all_indices_const = true;
      int32_t max_index = -1;
      std::optional<SmallVector<int64_t, 4>> inferred_item_shape;
      for (auto it : llvm::zip(op.getIndices(), op.getData())) {
        Value index = std::get<0>(it);
    
        DenseIntElementsAttr index_attr;
        if (matchPattern(index, m_Constant(&index_attr))) {
          for (int32_t index : index_attr.getValues<int32_t>()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

        attr = mlir::DenseIntOrFPElementsAttr::getFromRawBuffer(
            mlir::cast<mlir::ShapedType>(
                vhlo_type_converter.convertType(tensor_v1_attr.getType())),
            tensor_v1_attr.getData());
      } else if (auto cst = dyn_cast<tfl::SparseConstOp>(inst)) {
        attr = cst.getCompressedData();
      } else if (auto cst = dyn_cast<tfl::SparseQConstOp>(inst)) {
        attr = cst.getCompressedData();
      } else {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

    template <class Op>
    static LogicalResult VerifyUnsortedSegmentReduction(Op op) {
      if (!HasRankAtMost(op.getNumSegments(), 0))
        return op.emitOpError("number of segments should be a 0-D tensor");
    
      auto data_type = op.getData().getType().template dyn_cast<RankedTensorType>();
      auto segment_ids_type =
          op.getSegmentIds().getType().template dyn_cast<RankedTensorType>();
      if (data_type && segment_ids_type) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  4. src/cmd/link/internal/ld/data.go

    	sbld.SetType(sym.SRODATA)
    
    	// Don't reset the variable's size. String variable usually has size of
    	// 2*PtrSize, but in ASAN build it can be larger due to red zone.
    	// (See issue 56175.)
    	bld.SetData(make([]byte, arch.PtrSize*2))
    	bld.SetReadOnly(false)
    	bld.ResetRelocs()
    	bld.SetAddrPlus(arch, 0, sbld.Sym(), 0)
    	bld.SetUint(arch, int64(arch.PtrSize), uint64(len(value)))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (0)
  5. api/openapi-spec/v3/apis__apiextensions.k8s.io__v1_openapi.json

                "type": "string"
              }
            },
            "required": [
              "jsonPath"
            ],
            "type": "object"
          },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 178.6K bytes
    - Viewed (0)
Back to top