Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for Chaves (0.19 sec)

  1. tensorflow/c/c_api.cc

                             const int64_t* const* dims, const int* num_dims,
                             int num_shapes) {
      std::vector<PartialTensorShape> shapes;
      shapes.reserve(num_shapes);
      for (int i = 0; i < num_shapes; ++i) {
        if (num_dims[i] < 0) {
          shapes.emplace_back();
        } else {
          shapes.emplace_back(ArraySlice<int64_t>(
              reinterpret_cast<const int64_t*>(dims[i]), num_dims[i]));
        }
      }
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  2. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

        // Wait until all pending nodes have completed since they may have a
        // reference to default_cancellation_manager_. We ignore the status return
        // since we already have a bad status to propagate.
        TFE_ContextAsyncWait(context, await_status.get());
        // Reset the cancellation manager on a bad status. Otherwise we'll cancel
        // all future operations.
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Feb 09 07:47:20 GMT 2024
    - 25.4K bytes
    - Viewed (1)
  3. tensorflow/c/c_api.h

    // `proto` must point to an array of `proto_len` bytes representing a
    // binary-serialized TensorShapeProto.
    TF_CAPI_EXPORT extern void TF_SetAttrTensorShapeProto(
        TF_OperationDescription* desc, const char* attr_name, const void* proto,
        size_t proto_len, TF_Status* status);
    // `protos` and `proto_lens` must point to arrays of length `num_shapes`.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
  4. tensorflow/c/c_api_internal.h

    namespace tensorflow {
    
    // Set the shapes and types of the output's handle.
    //
    // The lengths of the arrays pointed to by `shapes`, `ranks`, and `types` must
    // all be equal to `num_shapes_and_types`. If `ranks[i] != -1`, (i.e., if the
    // rank is known), then it must be equal to the length of `shapes[i]`; if
    // `ranks[i] == 1`, then `shapes[i]` may be nullptr.
    //
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sat May 13 00:49:12 GMT 2023
    - 7.6K bytes
    - Viewed (0)
  5. tensorflow/c/checkpoint_reader.h

     public:
      CheckpointReader(const string& filename, TF_Status* status);
    
      bool HasTensor(const string& name) const;
      const string DebugString() const;
    
      // Returns a map from variable names to their shapes.  Slices of a partitioned
      // tensor are combined into a single entry.
      const TensorSliceReader::VarToShapeMap& GetVariableToShapeMap() const;
    
      // Returns a map from variable names to their data types.  Slices of a
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 12 08:49:52 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api_test.cc

      EXPECT_EQ(TF_FLOAT, TFE_TensorHandleDataType(h));
    
      TFE_TensorHandle* h_shares_tensor =
          TFE_TensorHandleCopySharingTensor(h, status.get());
      ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get());
    
      TF_Tensor* t = TFE_TensorHandleResolve(h_shares_tensor, status.get());
      ASSERT_EQ(16, TF_TensorByteSize(t));
      float data[4] = {0};
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
  7. tensorflow/c/c_api_test.cc

      TF_DeleteTensor(fetchValues[1]);
    }
    
    // REGISTER_OP for CApiAttributesTest test cases.
    // Registers two ops, each with a single attribute called 'v'.
    // The attribute in one op will have a type 'type', the other
    // will have list(type).
    #define ATTR_TEST_REGISTER_OP(type)                           \
      REGISTER_OP("CApiAttributesTestOp" #type)                   \
          .Attr("v: " #type)                                      \
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  8. tensorflow/c/c_api_experimental.cc

    void TFE_InferShapes(TFE_Op* tfe_op, TF_ShapeAndTypeList* input_shapes,
                         TF_Tensor** input_tensors,
                         TF_ShapeAndTypeList* input_tensors_as_shapes,
                         TF_ShapeAndTypeList** input_resource_shapes_and_types,
                         TF_ShapeAndTypeList** output_shapes,
                         TF_ShapeAndTypeList*** output_resource_shapes_and_types,
                         TF_Status* status) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
  9. tensorflow/c/eager/c_api_experimental.h

      int version = TFE_CUSTOM_DEVICE_VERSION;
    
      // Computes the rank of the tensor handle.
      //
      // Shapes are specified via callbacks because retrieving the shape of a tensor
      // is a blocking operation for async eager; custom devices should avoid
      // retrieving shapes of tensors they wrap until the custom device tensor's
      // shape is explicitly requested where possible.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
  10. RELEASE.md

    *   C API gives access to inferred shapes with `TF_GraphGetTensorNumDims` and
        `TF_GraphGetTensorShape`.
    *   Shape functions for core ops have moved to C++ via
        `REGISTER_OP(...).SetShapeFn(...)`. Python shape inference RegisterShape
        calls use the C++ shape functions with `common_shapes.call_cpp_shape_fn`. A
        future release will remove `RegisterShape` from python.
    
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 29 19:17:57 GMT 2024
    - 727.7K bytes
    - Viewed (8)
Back to top