Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 453 for int64Opt (0.29 sec)

  1. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_collective.cc

     public:
      // Does not take any ownership. Caller must ensure channel_id is valid during
      // life-cylce of this object.
      CollectiveRewritePattern(MLIRContext* context, int64_t* channel_id)
          : OpRewritePattern<T>(context), channel_id_(*channel_id) {}
    
     protected:
      int64_t& channel_id_;  // A unique channel_id shared by all rewrite patterns
                             // in this pass. Not thread-safe.
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 16K bytes
    - Viewed (0)
  2. tensorflow/c/tf_tensor_internal.h

      DataType Type() const override;
      int NumDims() const override;
      int64_t Dim(int dim_index) const override;
      int64_t NumElements() const override;
      size_t ByteSize() const override;
      void* Data() const override;
      bool IsAligned() const override;
      bool CanMove() const override;
      std::string SummarizeValue() const override;
    
      void SetShape(const int64_t* dims, int num_dims);
      Status ToTensor(tensorflow::Tensor* dst) const;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 24 20:38:55 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util_test.cc

        ::testing::Values(
            std::make_tuple(
                2, 1, "", std::vector<int64_t>{0},
                "'device_assignment' must not be set when 'topology' is not set"),
            std::make_tuple(8, 1, "", std::vector<int64_t>(),
                            "'num_replicas' must be equal to 1 or 2, got 8"),
            std::make_tuple(2, 2, "", std::vector<int64_t>(),
                            "'num_cores_per_replica' must be equal to 1, got 2")));
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 46.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/utils/lstm_utils_test.cc

                                         bool cifg) {
      SmallVector<int64_t, 2> input_shape{1, 2};
      SmallVector<int64_t, 2> weight_shape{3, 12};
      SmallVector<int64_t, 1> bias_shape{2};
      SmallVector<int64_t, 2> projection_shape{1, 2};
      SmallVector<int64_t, 1> layer_norm_scale{4};
      SmallVector<int64_t, 2> output_shape{1, 2};
      auto input_type = RankedTensorType::get(input_shape, builder->getF32Type());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10K bytes
    - Viewed (0)
  5. tensorflow/c/eager/gradients_internal.h

    Status SetAttrString(AbstractOperation*, const char* attr_name,
                         const char* data, size_t length, ForwardOperation*);
    Status SetAttrInt(AbstractOperation*, const char* attr_name, int64_t value,
                      ForwardOperation*);
    Status SetAttrFloat(AbstractOperation*, const char* attr_name, float value,
                        ForwardOperation*);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Oct 24 11:27:35 UTC 2021
    - 4.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/device_compilation_cache.h

    #include "tensorflow/core/platform/mutex.h"
    
    namespace tensorflow {
    namespace device_compilation_cache_internal {
    template <typename ExecutableType>
    int64_t ExecutableSize(const ExecutableType* executable) {
      return 0;
    }
    
    template <>
    inline int64_t ExecutableSize<xla::LocalExecutable>(
        const xla::LocalExecutable* executable) {
      if (executable != nullptr && executable->executable() != nullptr) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 12 08:49:52 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/internal/passes/input_lowering_metrics_pass_test.cc

          %0 = "tf.Const"() {value = dense<1000> : tensor<1xi32>} : () -> tensor<1xi32>
          return %0 : tensor<1xi32>
        }
      })";
    
      CellReader<int64_t> dynamism_op_counter(kDynamismOpCounterStreamzName);
      CellReader<int64_t> dynamism_function_counter(
          kDynamismFunctionCounterStreamzName);
    
      CreateModule(kMlirModuleStr);
      auto result = Run();
    
      EXPECT_TRUE(result.succeeded());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 23 19:42:09 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top