Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for outputName (0.14 sec)

  1. tensorflow/c/c_api.cc

      for (int i = 0; i < ninputs; ++i) {
        input_pairs[i].first = OutputName(inputs[i]);
      }
    
      // Convert from TF_Output to string names.
      std::vector<string> output_names(noutputs);
      for (int i = 0; i < noutputs; ++i) {
        output_names[i] = OutputName(outputs[i]);
      }
    
      // Convert from TF_Operation* to string names.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  2. tensorflow/c/eager/immediate_execution_operation.h

      virtual const tensorflow::OpDef* OpDef() const = 0;
    
      virtual absl::Status InputLength(const char* input_name, int* length) = 0;
      virtual absl::Status OutputLength(const char* output_name, int* length) = 0;
    
      // Set stack trace to be used for potential async error reporting.
      virtual void SetStackTrace(ManagedStackTrace stack_trace) = 0;
    
      virtual const tensorflow::AbstractOpAttrs* GetOpAttrs() const = 0;
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. tensorflow/c/eager/parallel_device/parallel_device_test.cc

      TF_Operation* reduce_op = TF_FinishOperation(reduce_desc, status);
      if (TF_GetCode(status) != TF_OK) return;
      TF_Operation* operations[]{placeholder_op, reduce_op};
      TF_Output y{reduce_op, 0};
      const char* output_name = "y";
      std::unique_ptr<TF_Function, decltype(&TF_DeleteFunction)> function(
          TF_GraphToFunction(
              /* fn_body */ body.get(), /* fn_name */ function_name,
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Aug 06 23:56:17 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api.cc

      return ret;
    }
    
    TF_CAPI_EXPORT extern int TFE_OpGetOutputLength(TFE_Op* op,
                                                    const char* output_name,
                                                    TF_Status* status) {
      int ret = -1;
      status->status = tensorflow::unwrap(op)->OutputLength(output_name, &ret);
      return ret;
    }
    
    void TFE_Execute(TFE_Op* op, TFE_TensorHandle** retvals, int* num_retvals,
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 43.9K bytes
    - Viewed (0)
  5. tensorflow/c/c_api_test.cc

      const auto signature_def = signature_def_map.at("regress_x_to_y");
    
      const string input_name =
          signature_def.inputs().at(tensorflow::kRegressInputs).name();
      const string output_name =
          signature_def.outputs().at(tensorflow::kRegressOutputs).name();
    
      // Write {0, 1, 2, 3} as tensorflow::Example inputs.
      Tensor input(tensorflow::DT_STRING, TensorShape({4}));
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 97K bytes
    - Viewed (0)
Back to top