Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for MakeShapeFromPartialTensorShape (0.22 sec)

  1. tensorflow/compiler/aot/aot_only_var_handle_op.cc

          DataType t;
          TF_RETURN_IF_ERROR(c->GetAttr("dtype", &t));
          PartialTensorShape p;
          TF_RETURN_IF_ERROR(c->GetAttr("shape", &p));
          shape_inference::ShapeHandle s;
          TF_RETURN_IF_ERROR(c->MakeShapeFromPartialTensorShape(p, &s));
          c->set_output_handle_shapes_and_types(
              0, std::vector<shape_inference::ShapeAndType>{{s, t}});
    
          return absl::OkStatus();
        });
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 28 09:57:04 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/shape_inference.cc

                shape_refiner->GetContext(n);
    
            if (arg_shape.handle_type != DT_INVALID) {
              shape_inference::ShapeHandle handle;
              TF_RETURN_IF_ERROR(context->MakeShapeFromPartialTensorShape(
                  arg_shape.handle_shape, &handle));
    
              // Sets the shape and type of the variable's value.
              context->set_output_handle_shapes_and_types(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 00:41:19 UTC 2024
    - 13K bytes
    - Viewed (0)
Back to top