Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 3,016 for int64At (0.17 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. tensorflow/c/kernels.h

    // Interprets the named kernel construction attribute as int64_t and
    // places it into *val. *status is set to TF_OK.
    //
    // If the attribute could not be found or could not be interpreted as
    // int64, *status is populated with an error.
    TF_CAPI_EXPORT extern void TF_OpKernelConstruction_GetAttrInt64(
        TF_OpKernelConstruction* ctx, const char* attr_name, int64_t* val,
        TF_Status* status);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 09 22:46:22 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top