Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 123 for int8_t (0.07 sec)

  1. 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: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Jul 17 23:43:59 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  2. 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: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Jan 17 22:27:52 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  3. tensorflow/c/eager/gradients_internal.h

    absl::Status SetAttrString(AbstractOperation*, const char* attr_name,
                               const char* data, size_t length, ForwardOperation*);
    absl::Status SetAttrInt(AbstractOperation*, const char* attr_name,
                            int64_t value, ForwardOperation*);
    absl::Status SetAttrFloat(AbstractOperation*, const char* attr_name,
                              float value, ForwardOperation*);
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. tensorflow/c/eager/dlpack.cc

    }
    
    // Checks whether the stride array matches the layout of compact, row-majored
    // data.
    bool IsValidStrideCompactRowMajorData(int64_t* shape_arr, int64_t* stride_arr,
                                          int ndim) {
      bool valid = true;
      int64_t expected_stride = 1;
      for (int i = ndim - 1; i >= 0; --i) {
        // Empty tensors are always compact regardless of strides.
        if (shape_arr[i] == 0) return true;
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api_unified_experimental_graph.cc

        return absl::OkStatus();
      }
      absl::Status SetAttrShape(const char* attr_name, const int64_t* dims,
                                const int num_dims) override {
        PartialTensorShape shape;
        if (num_dims >= 0) {
          shape = PartialTensorShape(ArraySlice<int64_t>(
              reinterpret_cast<const int64_t*>(dims), num_dims));
        }
        op_->node_builder.Attr(attr_name, shape);
        return absl::OkStatus();
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        mmHeap.addAll(Lists.newArrayList(1, 2, 3, 4, 47, 1, 5, 3, 0));
        assertTrue("Heap is not intact initially", mmHeap.isIntact());
        assertEquals(9, mmHeap.size());
        mmHeap.remove(5);
        assertEquals(8, mmHeap.size());
        assertTrue("Heap is not intact after remove()", mmHeap.isIntact());
        assertEquals(47, (int) mmHeap.pollLast());
        assertEquals(4, (int) mmHeap.pollLast());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  7. tensorflow/c/eager/c_api_experimental.h

    // Atomically increments the value of the cell. The value must be non-negative.
    TF_CAPI_EXPORT extern void TFE_MonitoringCounterCellIncrementBy(
        TFE_MonitoringCounterCell* cell, int64_t value);
    
    // Retrieves the current value of the cell.
    TF_CAPI_EXPORT extern int64_t TFE_MonitoringCounterCellValue(
        TFE_MonitoringCounterCell* cell);
    
    // APIs for Counter without label.
    typedef struct TFE_MonitoringCounter0 TFE_MonitoringCounter0;
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Feb 21 22:37:46 UTC 2024
    - 39.5K bytes
    - Viewed (0)
  8. tensorflow/c/c_api_test.cc

      }
    }
    
    void TestEncodeDecode(int line, const std::vector<string>& data) {
      const int64_t n = data.size();
      absl::Status status;
      for (const std::vector<int64_t>& dims :
           std::vector<std::vector<int64_t>>{{n}, {1, n}, {n, 1}, {n / 2, 2}}) {
        // Create C++ Tensor
        Tensor src(tensorflow::DT_STRING, TensorShape(dims));
        for (int64_t i = 0; i < src.NumElements(); ++i) {
          src.flat<tstring>()(i) = data[i];
        }
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 97K bytes
    - Viewed (0)
  9. tensorflow/c/eager/parallel_device/parallel_device_lib.h

     private:
      ParallelTensor(const ParallelDevice& device,
                     std::vector<TensorHandlePtr> tensors,
                     absl::Span<const int64_t> shape, const TF_DataType dtype)
          : device_(device),
            tensors_(std::move(tensors)),
            shape_(std::vector<int64_t>(shape.begin(), shape.end())),
            dtype_(dtype) {}
      ParallelTensor(const ParallelDevice& device,
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Oct 21 04:14:14 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/msrpc/srvsvc.idl

    		int type;
    		[string] wchar_t *remark;
    		uint32_t permissions;
    		uint32_t max_uses;
    		uint32_t current_uses;
    		[string] wchar_t *path;
    		[string] wchar_t *password;
    		uint32_t sd_size;
    		[size_is(sd_size)] uint8_t *security_descriptor;
    	} ShareInfo502;
    
    	typedef struct {
    		int count;
    		[size_is(count)] ShareInfo502 *array;
    	} ShareInfoCtr502;
    
    	typedef [switch_type(int)] union {
    		[case(0)] ShareInfo0 *info0;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 2.2K bytes
    - Viewed (0)
Back to top