Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ShapeAndType (0.1 sec)

  1. tensorflow/c/c_api_experimental.cc

      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;
      NodeDef node_def;
      tensorflow::ImmediateExecutionOperation* op = tensorflow::unwrap(tfe_op);
    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

      }
    
      auto shape_and_type_vec =
          std::vector<tensorflow::shape_inference::ShapeAndType>(
              num_shapes_and_types);
      for (int i = 0; i < num_shapes_and_types; ++i) {
        tensorflow::shape_inference::ShapeHandle shape_handle =
            ShapeHandleFromDims(ic, ranks[i], shapes[i]);
        shape_and_type_vec[i] = tensorflow::shape_inference::ShapeAndType(
            shape_handle, static_cast<DataType>(types[i]));
      }
    
    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