Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for DimensionHandle (0.07 sec)

  1. tensorflow/c/c_api_experimental.cc

                         TF_Status* status) {
      using tensorflow::NodeDef;
      using tensorflow::OpRegistrationData;
      using tensorflow::Tensor;
      using tensorflow::shape_inference::DimensionHandle;
      using tensorflow::shape_inference::InferenceContext;
      using tensorflow::shape_inference::ShapeAndType;
      using tensorflow::shape_inference::ShapeHandle;
    
      const int num_inputs = input_shapes->num_items;
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 29.5K bytes
    - Viewed (0)
  2. tensorflow/c/c_api.cc

    tensorflow::shape_inference::ShapeHandle ShapeHandleFromDims(
        tensorflow::shape_inference::InferenceContext* ic, int num_dims,
        const int64_t* dims) {
      if (num_dims != -1) {
        std::vector<tensorflow::shape_inference::DimensionHandle> dim_vec;
        dim_vec.reserve(num_dims);
        for (int i = 0; i < num_dims; ++i) {
          dim_vec.push_back(ic->MakeDim(dims[i]));
        }
        return ic->MakeShape(dim_vec);
      } else {
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 102.3K bytes
    - Viewed (0)
Back to top