Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TensorHandleConvertible (0.65 sec)

  1. tensorflow/c/experimental/saved_model/core/tf_concrete_function_loading_test.cc

     private:
      std::unique_ptr<StaticDeviceMgr> device_mgr_;
      EagerContextPtr ctx_;
    };
    
    class DummyCapture : public TensorHandleConvertible {
     public:
      DummyCapture(ImmediateExecutionContext* ctx, int8_t value)
          : TensorHandleConvertible(
                testing::CreateTensorHandle(ctx, DT_FLOAT, {2, 4}, value)) {}
    };
    
    FunctionDef FuncDefWithNumInputsOutputs(int num_inputs, int num_outputs) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 14 19:16:58 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/saved_model/core/saved_model_utils.cc

      return Status();
    }
    
    Status LoadTFConcreteFunction(
        const SavedConcreteFunction& saved_concrete_function,
        const FunctionDef* function_def,
        const std::unordered_map<int, std::unique_ptr<TensorHandleConvertible>>&
            captured_objects,
        ImmediateExecutionContext* ctx, std::unique_ptr<TFConcreteFunction>* out) {
      TF_RETURN_IF_ERROR(ValidateSavedFunctionCompatibleWithFunctionDef(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 12 19:17:46 UTC 2023
    - 24K bytes
    - Viewed (0)
Back to top