Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 453 for int64Opt (0.19 sec)

  1. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc

          requested_read_length = INT32_MAX;
        else
          requested_read_length = n;
    
        // `pread` returns a `ssize_t` on POSIX, but due to interface being
        // cross-platform, return type of `Read` is `int64_t`.
        int64_t r = int64_t{pread(posix_file->fd, dst, requested_read_length,
                                  static_cast<off_t>(offset))};
        if (r > 0) {
          dst += r;
          offset += static_cast<uint64_t>(r);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Mar 24 20:08:23 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/next_pluggable_device/c_api.cc

      auto* cc_agent = reinterpret_cast<tsl::CoordinationServiceAgent*>(agent);
      return cc_agent->IsInitialized();
    }
    
    void TF_CoordinationServiceInsertKeyValue(const char* key, int64_t key_size,
                                              const char* value, int64_t value_size,
                                              TF_CoordinationServiceAgent* agent,
                                              TF_Status* status) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 05:48:24 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api.cc

      return num_dims;
    }
    
    int64_t TFE_TensorHandleNumElements(TFE_TensorHandle* h, TF_Status* status) {
      if (h == nullptr) {
        status->status = tensorflow::errors::InvalidArgument("Invalid handle");
        return -1;
      }
    
      int64_t num_elements = -1;
      status->status = tensorflow::unwrap(h)->NumElements(&num_elements);
      return num_elements;
    }
    
    int64_t TFE_TensorHandleDim(TFE_TensorHandle* h, int dim_index,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 08:11:23 UTC 2024
    - 44K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/stablehlo/passes/insert_weight_param.cc

              dot.getDotDimensionNumbers();
          ArrayRef<int64_t> rhs_contracting_dims =
              dimension_numbers.getRhsContractingDimensions();
          ArrayRef<int64_t> rhs_batching_dims =
              dimension_numbers.getRhsBatchingDimensions();
          int64_t rank = dot.getRhs().getType().cast<TensorType>().getRank();
          for (int i = 0; i < rank; ++i) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 05:56:10 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/aot/codegen_test_h.golden

        set_arg_data(1, data);
      }
      int64_t* arg1_data() {
        return static_cast<int64_t*>(arg_data(1));
      }
      int64_t& arg1(size_t dim0, size_t dim1) {
        return (*static_cast<int64_t(*)[3][4]>(
            arg_data(1)))[dim0][dim1];
      }
      const int64_t* arg1_data() const {
        return static_cast<const int64_t*>(arg_data(1));
      }
      const int64_t& arg1(size_t dim0, size_t dim1) const {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 01:20:01 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/utils/tf_to_xla_attribute_utils_test.cc

    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_dialect.h"
    
    namespace mlir::quant {
    namespace {
    
    void PackOperandTestHelper(
        const llvm::SmallVector<int64_t>& unpacked_shape,
        const llvm::SmallVector<int8_t>& unpacked_values, int pack_dim,
        const llvm::SmallVector<int64_t>& expected_packed_shape,
        const llvm::SmallVector<int8_t>& expected_packed_values) {
      MLIRContext context;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. tensorflow/c/eager/tfe_tensor_debug_info_internal.h

    #include <vector>
    
    #include "tensorflow/core/platform/types.h"
    
    struct TFE_TensorDebugInfo {
      explicit TFE_TensorDebugInfo(const std::vector<int64_t>& dims)
          : dev_dims(dims) {}
    
      // Fully-padded, minor-to-major.
      std::vector<int64_t> dev_dims;
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 11 01:20:50 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  8. tensorflow/c/eager/tfe_monitoring_internal.h

    };
    
    struct TFE_MonitoringIntGauge0 : TFE_MonitoringGauge<int64_t, 0> {
      using TFE_MonitoringGauge::TFE_MonitoringGauge;
    };
    struct TFE_MonitoringIntGauge1 : TFE_MonitoringGauge<int64_t, 1> {
      using TFE_MonitoringGauge::TFE_MonitoringGauge;
    };
    struct TFE_MonitoringIntGauge2 : TFE_MonitoringGauge<int64_t, 2> {
      using TFE_MonitoringGauge::TFE_MonitoringGauge;
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 11 01:20:50 UTC 2021
    - 5.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/stablehlo/transforms/op_stat_pass.cc

      // Keeps track of dtype counts per op.
      void CountOp(DenseMap<StringRef, llvm::StringMap<int64_t>> &op_count_map,
                   StringRef op_name, StringRef dtype);
    
     private:
      llvm::StringMap<int64_t> op_with_dialect_count_;
      DenseMap<StringRef, llvm::StringMap<int64_t>> op_dtype_count_;
      llvm::StringMap<int64_t> dialect_count_;
      llvm::StringMap<StringRef> dialect_name_of_;
      llvm::StringMap<StringRef> op_name_of_;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  10. tensorflow/c/eager/c_api_test_util.h

                                                      float data[], int64_t dims[],
                                                      int num_dims);
    
    // Get a Matrix TensorHandle with given float values and dimensions
    TFE_TensorHandle* TestTensorHandleWithDimsFloat(TFE_Context* ctx, float data[],
                                                    int64_t dims[], int num_dims);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jul 17 23:43:59 UTC 2023
    - 7.7K bytes
    - Viewed (0)
Back to top