- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,478 for int64At (0.28 sec)
-
staging/src/k8s.io/apimachinery/pkg/util/sets/int64.go
limitations under the License. */ package sets // Int64 is a set of int64s, implemented via map[int64]struct{} for minimal memory consumption. // // Deprecated: use generic Set instead. // new ways: // s1 := Set[int64]{} // s2 := New[int64]() type Int64 map[int64]Empty // NewInt64 creates a Int64 from a list of values. func NewInt64(items ...int64) Int64 { return Int64(New[int64](items...)) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 20 03:47:18 UTC 2022 - 3.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/debugging/mlir_dump.cc
pass_to_dump_file_before_map_; llvm::DenseMap<mlir::Pass*, std::unique_ptr<llvm::raw_ostream>> pass_to_dump_file_after_map_; llvm::DenseMap<mlir::Pass*, int64_t> pass_to_number_map_; // Get the unique number for each pass. int64_t GetPassNumber(mlir::Pass* pass) { if (!pass_to_number_map_.contains(pass)) { pass_to_number_map_[pass] = mlir_pass_count_++; } return pass_to_number_map_[pass];
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 31 05:38:57 UTC 2024 - 9.1K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.h
uint64_t block_size, size_t max_bytes, uint64_t max_staleness, uint64_t stat_cache_max_age, size_t stat_cache_max_entries); } GCSFile; // This function is used to initialize a filesystem without the need of setting // manually environement variables. void InitTest(TF_Filesystem* filesystem, bool compose, uint64_t block_size, size_t max_bytes, uint64_t max_staleness,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Aug 31 04:37:41 UTC 2020 - 5.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/fold_constant_transpose.cc
// should have the same size. // Example: Index (2, 3) of a (4, 5)-shaped tensor has the contiguous offset of // 2 * 5 + 3 = 13. int64_t GetContiguousOffset(const ArrayRef<int64_t> indices, const ArrayRef<int64_t> shape) { int64_t contiguous_offset = 0; int64_t base_offset = 1; for (auto [i, dimension] : llvm::reverse(llvm::zip_equal(indices, shape))) { contiguous_offset += base_offset * i;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 7.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/optimize_layout.cc
// Inversely permutate a given vector static SmallVector<int64_t> InvertPermutationToVector(ArrayRef<int64_t> vec, ArrayRef<int64_t> perm) { return applyPermutation(vec, invertPermutationVector(perm)); } static RankedTensorType GetPermutedTensorTypeHelper(RankedTensorType type, ArrayRef<int64_t> perm,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 21:59:06 UTC 2024 - 8.6K bytes - Viewed (0) -
src/runtime/pprof/protobuf.go
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) } func (b *protobuf) int64s(tag int, x []int64) { if len(x) > 2 { // Use packed encoding n1 := len(b.data) for _, u := range 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) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/util.h
// with `size` number of values. bool IsIotaAttr(ArrayRef<int64_t> arr, int64_t size); // Returns a DenseIntElementsAttr for a permutation and the shape after // applying the permutation to a given shape through a transpose. PermutationAndShape GetPermutationAndTransposedShape( llvm::ArrayRef<int64_t> permutation_array, ShapedType input_type, ConversionPatternRewriter& rewriter);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Nov 08 11:35:25 UTC 2023 - 6.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/ir/FakeQuantSupport.cc
// fake quant op used in the training to use the nudged scale as well. static void getNudgedScaleAndZeroPoint(int64_t qmin, int64_t qmax, double rmin, double rmax, double &scale, int64_t &nudgedZeroPoint) { // Determine the scale. const double qminDouble = qmin; const double qmaxDouble = qmax;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 21 11:52:27 UTC 2024 - 7.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/optimize.cc
// Thus, we fail to match if the consuming reshape rank is larger. ArrayRef<int64_t> input_shape = input_type.getShape(); if (reshape_shape.size() > input_shape.size()) return failure(); // Extend the input shape with leading 1s to match the broadcast shape. ArrayRef<int64_t> broadcast_shape = output_type.getShape(); SmallVector<int64_t, 4> input_shape_extended;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.1K bytes - Viewed (0) -
tensorflow/c/experimental/stream_executor/stream_executor_test_util.cc
namespace test_util { /*** Functions for creating SP_StreamExecutor ***/ void Allocate(const SP_Device* const device, uint64_t size, int64_t memory_space, SP_DeviceMemoryBase* const mem) {} void Deallocate(const SP_Device* const device, SP_DeviceMemoryBase* const mem) { } void* HostMemoryAllocate(const SP_Device* const device, uint64_t size) { return nullptr; } void HostMemoryDeallocate(const SP_Device* const device, void* mem) {}
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 21 20:09:00 UTC 2023 - 8.7K bytes - Viewed (0)