Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 832 for int64At (0.13 sec)

  1. src/cmd/internal/goobj/objfile.go

    	if len == 0 {
    		return nil
    	}
    	end := int(off) + len
    	return r.b[int(off):end:end]
    }
    
    func (r *Reader) uint64At(off uint32) uint64 {
    	b := r.BytesAt(off, 8)
    	return binary.LittleEndian.Uint64(b)
    }
    
    func (r *Reader) int64At(off uint32) int64 {
    	return int64(r.uint64At(off))
    }
    
    func (r *Reader) uint32At(off uint32) uint32 {
    	b := r.BytesAt(off, 4)
    	return binary.LittleEndian.Uint32(b)
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/stream_executor/stream_executor_test.cc

      se_.device_memory_usage = [](const SP_Device* const device,
                                   int64_t* const free,
                                   int64_t* const total) -> TF_Bool {
        *free = 45;
        *total = 7;
        return true;
      };
    
      StreamExecutor* executor = GetExecutor(0);
      int64_t free = 0;
      int64_t total = 0;
      executor->DeviceMemoryUsage(&free, &total);
      ASSERT_EQ(free, 45);
      ASSERT_EQ(total, 7);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 19:54:04 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  3. src/math/rand/v2/regress_test.go

    	int64(2986830195847294191), // Int64()
    	int64(8204908297817606218), // Int64()
    	int64(8134976985547166651), // Int64()
    	int64(2240328155279531677), // Int64()
    	int64(7311121042813227358), // Int64()
    	int64(5231057920893523323), // Int64()
    	int64(4257872588489500903), // Int64()
    	int64(158397175702351138),  // Int64()
    	int64(1350674201389090105), // Int64()
    	int64(6093522341581845358), // Int64()
    
    	int64(0),                   // Int64N(1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:03:11 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

      std::unordered_map<uint64_t, std::pair<int64_t, int64_t>> hashcode_to_pos;
      // Buffer data should be exported only once.
      assert(!buffer_data_exported_);
    
      auto it = buffer_data_map_.begin();
      while (it != buffer_data_map_.end()) {
        std::string buffer = it->second;
        int64_t index = it->first;
        int64_t offset = result.size();
        int64_t size = buffer.size();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
  5. 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)
  6. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

      int64_t x_row_dim = x_shape[x_shape.size() - 2];
      int64_t x_col_dim = x_shape[x_shape.size() - 1];
      int64_t y_row_dim = y_shape[y_shape.size() - 2];
      int64_t y_col_dim = y_shape[y_shape.size() - 1];
      int64_t out_row_dim = output_shape[output_shape.size() - 2];
      int64_t out_col_dim = output_shape[output_shape.size() - 1];
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

        SmallVector<int64_t> start_indices(input_rank, 0);
        SmallVector<int64_t> slice_sizes = reshaped_permuted_shape;
        SmallVector<int64_t> strides(input_rank, 1);
        auto crop_values = llvm::to_vector<4>(crops.getValues<APInt>());
        for (int i = 0; i < block_rank; ++i) {
          int64_t crop_start = crop_values[i * 2].getSExtValue();
          int64_t crop_end = crop_values[i * 2 + 1].getSExtValue();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. tensorflow/compiler/mlir/lite/stablehlo/transforms/uniform_quantized_stablehlo_to_tfl_pass.cc

        // (spatial_filter_shape[i]-1) * dilation_rate[i]) / strides[i])
        auto get_output_dim_for_valid_padding =
            [](int64_t input_dim, int64_t dilation_dim, int64_t kernel_dim,
               int64_t stride_dim) -> int64_t {
          return std::ceil((input_dim - (kernel_dim - 1) * dilation_dim) /
                           stride_dim);
        };
        return output_height ==
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 09:00:19 UTC 2024
    - 99.8K bytes
    - Viewed (0)
Back to top