Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 453 for int64Opt (0.24 sec)

  1. src/runtime/pprof/proto.go

    	start := b.pb.startMessage()
    	b.pb.uint64Opt(tagMapping_ID, id)
    	b.pb.uint64Opt(tagMapping_Start, base)
    	b.pb.uint64Opt(tagMapping_Limit, limit)
    	b.pb.uint64Opt(tagMapping_Offset, offset)
    	b.pb.int64Opt(tagMapping_Filename, b.stringIndex(file))
    	b.pb.int64Opt(tagMapping_BuildID, b.stringIndex(buildID))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 13 20:40:52 UTC 2023
    - 25.7K bytes
    - Viewed (0)
  2. src/runtime/pprof/protomem.go

    	b.pbValueType(tagProfile_PeriodType, "space", "bytes")
    	b.pb.int64Opt(tagProfile_Period, rate)
    	b.pbValueType(tagProfile_SampleType, "alloc_objects", "count")
    	b.pbValueType(tagProfile_SampleType, "alloc_space", "bytes")
    	b.pbValueType(tagProfile_SampleType, "inuse_objects", "count")
    	b.pbValueType(tagProfile_SampleType, "inuse_space", "bytes")
    	if defaultSampleType != "" {
    		b.pb.int64Opt(tagProfile_DefaultSampleType, b.stringIndex(defaultSampleType))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 14:38:45 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. src/runtime/pprof/protobuf.go

    		return
    	}
    	for _, u := range x {
    		b.uint64(tag, u)
    	}
    }
    
    func (b *protobuf) uint64Opt(tag int, x uint64) {
    	if x == 0 {
    		return
    	}
    	b.uint64(tag, x)
    }
    
    func (b *protobuf) int64(tag int, x int64) {
    	u := uint64(x)
    	b.uint64(tag, u)
    }
    
    func (b *protobuf) int64Opt(tag int, x int64) {
    	if x == 0 {
    		return
    	}
    	b.int64(tag, x)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 30 20:09:46 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  4. src/runtime/pprof/pprof.go

    	// Output profile in protobuf form.
    	b := newProfileBuilder(w)
    	b.pbValueType(tagProfile_PeriodType, countName, "count")
    	b.pb.int64Opt(tagProfile_Period, 1)
    	b.pbValueType(tagProfile_SampleType, countName, "count")
    	b.pbValueType(tagProfile_SampleType, cycleName, "nanoseconds")
    
    	cpuGHz := float64(pprof_cyclesPerSecond()) / 1e9
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/dot_general.cc

    namespace odml {
    namespace {
    // A struct to hold axes and sizes for a set of dimensions.
    struct DimensionVector {
      llvm::ArrayRef<int64_t> AxesArray() const { return axes; }
      llvm::ArrayRef<int64_t> SizesArray() const { return sizes; }
    
      llvm::SmallVector<int64_t, 4> axes;
      llvm::SmallVector<int64_t, 4> sizes;
    };
    
    // Appends all elements in `range` to `values`.
    template <typename ValueT, typename Range>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/util.cc

    namespace mlir {
    namespace odml {
    
    bool IsIotaAttr(ArrayRef<int64_t> arr, int64_t size) {
      if (arr.size() != size) return false;
      int64_t iota = 0;
      for (auto s : arr) {
        if (s != iota) return false;
        ++iota;
      }
      return true;
    }
    
    PermutationAndShape GetPermutationAndTransposedShape(
        llvm::ArrayRef<int64_t> permutation_array, ShapedType input_type,
        ConversionPatternRewriter& rewriter) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/stablehlo/transforms/hlo_matchers.cc

                                   ArrayRef<int64_t> index) {
    #ifndef NDEBUG
        assert(shape.size() == index.size());
        for (size_t i = 0; i < shape.size(); ++i) {
          assert(index[i] < shape[i]);
          assert(index[i] >= 0);
        }
    #endif  // NDEBUG
        int64_t offset = 0;
        int64_t stride = 1;
        for (int64_t dim = shape.size() - 1; dim >= 0; --dim) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/utils/dynamic_shape_utils.cc

    #include "llvm/ADT/SmallVector.h"
    
    namespace tensorflow {
    
    llvm::SmallVector<int64_t> ConvertTFShapeToMlir(
        llvm::ArrayRef<int64_t> shapes) {
      return llvm::to_vector(llvm::map_range(shapes, [](int64_t shape) {
        return shape == kTFDynamicSize ? mlir::ShapedType::kDynamic : shape;
      }));
    }
    
    llvm::SmallVector<int64_t> ConvertMlirShapeToTF(
        llvm::ArrayRef<int64_t> shapes) {
      return llvm::to_vector(llvm::map_range(shapes, [](int64_t shape) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Nov 21 16:21:18 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_layout_helper.cc

    namespace mlir {
    namespace TF {
    
    SmallVector<int64_t, 4> ReversePermutation(ArrayRef<int64_t> permutation) {
      SmallVector<int64_t, 4> reverse(permutation.size());
      for (size_t i = 0; i < permutation.size(); ++i) {
        reverse[permutation[i]] = i;
      }
      return reverse;
    }
    
    SmallVector<int64_t, 4> GetDataFormatPermutation(StringRef from, StringRef to) {
      if (from == "NHWC" && to == "NCHW") {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/einsum.cc

      // 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;
      std::vector<std::tuple<int64_t, int64_t>> lhs_out;
      std::vector<std::tuple<int64_t, int64_t>> rhs_out;
      std::vector<std::tuple<int64_t, int64_t, int64_t>> lhs_rhs_out;
    };
    
    TF::ReshapeOp createOutputReshapeOpForDynamic(
        Value value, ArrayRef<int64_t> shape, Value org_lhs, Value org_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)
Back to top