Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 463 for int64Ptr (0.15 sec)

  1. tensorflow/c/experimental/stream_executor/stream_executor.h

    typedef struct SP_AllocatorStats {
      size_t struct_size;
      int64_t num_allocs;
      int64_t bytes_in_use;
      int64_t peak_bytes_in_use;
      int64_t largest_alloc_size;
    
      int8_t has_bytes_limit;
      int64_t bytes_limit;
    
      int64_t bytes_reserved;
      int64_t peak_bytes_reserved;
    
      int8_t has_bytes_reservable_limit;
      int64_t bytes_reservable_limit;
    
      int64_t largest_free_block_bytes;
    } SP_AllocatorStats;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 24 08:40:35 UTC 2022
    - 21.6K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/gradients/tape/tape_operation.h

                           size_t length) override;
      Status SetAttrInt(const char* attr_name, int64_t value) override;
      Status SetAttrFloat(const char* attr_name, float value) override;
      Status SetAttrBool(const char* attr_name, bool value) override;
      Status SetAttrType(const char* attr_name, DataType value) override;
      Status SetAttrShape(const char* attr_name, const int64_t* dims,
                          const int num_dims) override;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 23 23:12:39 UTC 2020
    - 3.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/common/uniform_quantized_types.cc

        const ArrayRef<int64_t> zero_points, const int quantization_dimension,
        const bool narrow_range) {
      return UniformQuantizedPerAxisType::getChecked(
          loc, /*flags=*/QuantizationFlags::Signed,
          /*storageType=*/IntegerType::get(&context, /*width=*/8),
          /*expressedType=*/FloatType::getF32(&context),
          SmallVector<double>(scales), SmallVector<int64_t>(zero_points),
          quantization_dimension,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.4K 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/tf2xla/internal/legalize_tf_to_hlo_test.cc

                             compilation_result.get());
    }
    
    TEST(LegalizeWithCombinedBridge, DoesNotUseMlirLowering) {
      CellReader<int64_t> mlir_bridge_legalize_count(kMlirLegalizeCount);
      CellReader<int64_t> counts(kBridgeStatusCounter);
    
      auto result = CompileMlirModule(kMlirModuleStr);
    
      ASSERT_THAT(result, IsOkOrFiltered());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 20:29:34 UTC 2024
    - 6K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

        buf.push_back(i);
      }
      // The fetcher just fetches slices of the buffer.
      auto fetcher = [&buf](const string& filename, size_t offset, size_t n,
                            char* buffer, TF_Status* status) -> int64_t {
        int64_t bytes_transferred;
        if (offset < buf.size()) {
          size_t bytes_to_copy = std::min<size_t>(buf.size() - offset, n);
          memcpy(buffer, buf.data() + offset, bytes_to_copy);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Oct 15 03:16:57 UTC 2021
    - 23.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/stablehlo/passes/defer_activation_transpose.cc

      DenseI64ArrayAttr PermuteI64ArrayAttr(
          PatternRewriter& rewriter,
          const std::optional<ArrayRef<int64_t>> array_attr,
          const ArrayRef<int64_t> permutation) const {
        if (!array_attr.has_value()) return DenseI64ArrayAttr(nullptr);
    
        return rewriter.getDenseI64ArrayAttr(
            Permute<int64_t>(array_attr.value(), permutation));
      }
    
      LogicalResult MatchMaxPoolReduceWindowOp(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  8. tensorflow/c/c_api_experimental_test.cc

        TF_DeleteShapeAndTypeList(output_shapes);
      }
    
      absl::optional<std::vector<int64_t>> make_shape(
          std::vector<int64_t>&& dims) const {
        return absl::make_optional(dims);
      }
    
      absl::optional<std::vector<int64_t>> unknown_shape() const {
        return absl::nullopt;
      }
    
      static constexpr int64_t kUnknownDim =
          shape_inference::InferenceContext::kUnknownDim;
      TF_Status* status_;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 17 22:27:52 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/api/v2/cluster_tf_test.cc

      }
    
      DialectRegistry registry_;
      MLIRContext context_;
      OwningOpRef<mlir::ModuleOp> mlir_module_;
    };
    
    TEST_F(FunctionClusterTensorflowDialectTest, ClustersTfReplicatedBridge) {
      CellReader<int64_t> compilation_status(kCompilationStreamz);
    
      TF_ASSERT_OK(CreateMlirModule("empty_func.mlir"));
    
      TF_EXPECT_OK(RunFunctionTf2xlaClusteringBridge(
          *mlir_module_, /*is_supported_by_replicated_brige*/ true,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:44:37 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/increase_dynamism_for_auto_jit_pass.cc

      std::vector<int64_t> size_as_vector;
    };
    
    std::vector<int64_t> IntTensorAsVector(const Tensor& t) {
      DCHECK(t.dtype() == DT_INT32 || t.dtype() == DT_INT64);
      std::vector<int64_t> result;
      result.reserve(t.NumElements());
      for (int i = 0; i < t.NumElements(); i++) {
        int64_t element = t.dtype() == DT_INT32
                              ? static_cast<int64_t>(t.flat<int32>()(i))
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 13.8K bytes
    - Viewed (0)
Back to top