Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 463 for int64Ptr (0.18 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/host_runtime/tfrt_ops.cc

    namespace mlir {
    namespace TF {
    
    llvm::SmallVector<ResourceHandleValueAndId, 4>
    _TfrtGetResourceOp::GetResourceHandleValueAndIdList(
        llvm::SmallDenseMap<ResourceHandle, int64_t> &resource_handle_id_map,
        int64_t &next_id) {
      llvm::SmallVector<ResourceHandleValueAndId, 4> resource_vec;
      llvm::StringRef device = GetDeviceOrEmpty(getOperation());
    
      for (const auto &iter : llvm::enumerate(getResults())) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.h

    void Cleanup(TF_RandomAccessFile* file);
    int64_t Read(const TF_RandomAccessFile* file, uint64_t offset, size_t n,
                 char* buffer, TF_Status* status);
    }  // namespace tf_random_access_file
    
    namespace tf_writable_file {
    void Cleanup(TF_WritableFile* file);
    void Append(const TF_WritableFile* file, const char* buffer, size_t n,
                TF_Status* status);
    int64_t Tell(const TF_WritableFile* file, TF_Status* status);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 31 04:37:41 UTC 2020
    - 5.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/cc/save_variables_test.cc

      const absl::StatusOr<std::string> checkpoint_prefix = MakeTempDir();
      EXPECT_TRUE(checkpoint_prefix.ok());
    
      const absl::Cleanup checkpoint_prefix_cleanup = [this, &checkpoint_prefix]() {
        int64_t undeleted_files, undeleted_dirs;
        TF_CHECK_OK(env_->DeleteRecursively(*checkpoint_prefix, &undeleted_files,
                                            &undeleted_dirs));
      };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 16.2K bytes
    - Viewed (0)
  4. tensorflow/c/eager/immediate_execution_context.h

      // Get a list of the names of functions that have been registered.
      virtual std::vector<string> ListFunctionNames() = 0;
    
      struct CacheStats {
        int64_t kernel_cache_size;
        int64_t device_cache_size;
        std::map<std::string, int64_t> func_kernel_cache_entries;
        int64_t local_rendezvous_cache_active_size;
      };
      virtual CacheStats GetCacheStats() = 0;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 06 08:34:00 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/quantization/lite/quantize_weights.h

        flatbuffers::FlatBufferBuilder* builder, const tflite::Model* input_model,
        const tflite::TensorType& inference_type,
        const absl::flat_hash_set<std::string>& denylisted_ops,
        const CustomOpMap& custom_op_map,
        int64_t minimum_elements_for_weights = 1024,
        bool disable_per_channel = false, bool weight_only_quantization = false,
        bool legacy_float_scale = false);
    
    // Overloading methods to support old quantizer versions API
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/utils/verification_utils.cc

    #include "mlir/IR/Types.h"  // from @llvm-project
    #include "mlir/Support/LogicalResult.h"  // from @llvm-project
    
    namespace mlir {
    namespace TF {
    
    LogicalResult VerifyShapeOfReshapeOp(ArrayRef<int64_t> shape) {
      bool has_dynamic_dim = false;
      for (int64_t dim : shape) {
        if (dim != ShapedType::kDynamic) {
          if (dim < 0) return failure();
          continue;
        }
        if (has_dynamic_dim) return failure();
        has_dynamic_dim = true;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Nov 21 16:21:18 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/internal/test_matchers_test.cc

    TEST(TestUtil, MatchesFiltered) { ASSERT_THAT(filtered(), IsOkOrFiltered()); }
    
    TEST(TestUtil, IncrementsOk) {
      CellReader<int64_t> reader(kMetric);
      counter->GetCell(kOkStatus)->IncrementBy(1);
    
      ASSERT_THAT(success(), IncrementedOrFiltered(reader.Delta(kOkStatus), 1));
    }
    
    TEST(TestUtil, FilteredDoesntIncrementsOk) {
      CellReader<int64_t> reader(kMetric);
    
      ASSERT_THAT(filtered(), IncrementedOrFiltered(reader.Delta(kOkStatus), 1));
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 20:29:34 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/aot/embedded_protocol_buffers.cc

    static void AddEmbeddedProtocolBufferToLlvmModule(
        llvm::Module* module, const ::tensorflow::protobuf::MessageLite& proto,
        absl::string_view unique_identifier, string* protobuf_array_symbol_name,
        int64_t* protobuf_array_size) {
      string protobuf_array_contents = proto.SerializeAsString();
      *protobuf_array_symbol_name =
          absl::StrCat(unique_identifier, "_protobuf_array_contents");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 00:48:41 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/passes/unfreeze_constants.cc

      StringRef getDescription() const override {
        return "Unfreeze large constants.";
      }
    
      void runOnOperation() override;
    
     private:
      Option<int64_t> CreateSizeThresholdInBytesOption(const int64_t init_value) {
        return Option<int64_t>(
            *this, "size_threshold_in_bytes", llvm::cl::init(init_value),
            llvm::cl::desc(
                "Lower threshold of the constant size for unfreezing. Constants "
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 16 15:04:53 UTC 2023
    - 14K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/utils/size_utils.h

    #include <cstdint>
    
    namespace mlir {
    namespace TFL {
    
    // Converts a TF size (64-bit) to TFLite (32-bit) and properly converts TF's
    // value for dynamic size (`std::numeric_limits<int64_t>::min()`) to the
    // TFLite-specific value.
    int32_t ConvertToTfliteSize(int64_t size);
    
    }  // namespace TFL
    }  // namespace mlir
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Dec 23 16:15:59 UTC 2022
    - 1.1K bytes
    - Viewed (0)
Back to top