Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for output_handle_shapes_and_types (0.24 sec)

  1. tensorflow/c/python_api.cc

            graph->refiner.GetContext(node);
        CHECK(ic != nullptr);
        CHECK_LT(output.index, ic->num_outputs());
        const auto* shapes_and_types =
            ic->output_handle_shapes_and_types(output.index);
        if (shapes_and_types == nullptr) return "";
    
        for (const auto& p : *shapes_and_types) {
          auto* out_shape_and_type = handle_data.add_shape_and_type();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jul 12 18:48:56 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/shape_inference.cc

          auto& output = outputs[i];
          TF_RETURN_IF_ERROR(
              ShapeHandleToTensorShape(context, context->output(i), &output.shape));
    
          const auto* handle_shapes_and_types =
              context->output_handle_shapes_and_types(i);
          if (handle_shapes_and_types != nullptr) {
            if (handle_shapes_and_types->size() == 1) {
              TF_RETURN_IF_ERROR(ShapeHandleToTensorShape(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 00:41:19 UTC 2024
    - 13K bytes
    - Viewed (0)
  3. tensorflow/c/c_api.cc

            graph->refiner.GetContext(node);
        CHECK(ic != nullptr);                       // Crash OK
        CHECK_LT(output.index, ic->num_outputs());  // Crash OK
        const auto* shapes_and_types =
            ic->output_handle_shapes_and_types(output.index);
        if (shapes_and_types == nullptr) return nullptr;
    
        for (const auto& p : *shapes_and_types) {
          auto* out_shape_and_type = handle_data.add_shape_and_type();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

                    s.message(), "')");
              c->set_output(idx, h);
            }
          }
        }
    
        return ConvertDataTypeAndShape(dtype, c->output(idx),
                                       c->output_handle_shapes_and_types(idx), c,
                                       builder);
      };
    
      if (specs_.enable_shape_inference) {
        // TODO(jpienaar): Remove this if shape inference on import flag is removed.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
Back to top