Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for outputId (0.24 sec)

  1. tensorflow/c/c_api.h

    //  noutputs - number of elements in `outputs` array
    //  outputs - array of TF_Outputs that specify the outputs of the function.
    //            If `noutputs` is zero (the function returns no outputs), `outputs`
    //            can be null. `outputs` can contain the same tensor more than once.
    //  output_names - The names of the function's outputs. `output_names` array
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
  2. tensorflow/c/eager/parallel_device/parallel_device_lib.h

        if (TF_GetCode(status) != TF_OK) return nullptr;
        TFE_OpSetAttrType(const_op.get(), "dtype", datatype_enum);
        TFE_TensorHandle* device_handle;
        int num_outputs = 1;
        TFE_Execute(const_op.get(), &device_handle, &num_outputs, status);
        if (TF_GetCode(status) != TF_OK) return nullptr;
        components.emplace_back(device_handle);
      }
      return ParallelTensor::FromTensorHandles(*this, std::move(components),
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 25 15:21:13 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/gradients/not_differentiable.h

    #include "tensorflow/c/eager/gradients.h"
    
    namespace tensorflow {
    namespace gradients {
    // Ignores `grad_outputs` and sets all entries in grad_inputs to nullptr.
    class NotDifferentiableGradientFunction : public GradientFunction {
      Status Compute(AbstractContext* ctx,
                     absl::Span<AbstractTensorHandle* const> grad_outputs,
                     absl::Span<AbstractTensorHandle*> grad_inputs) override;
    };
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Thu Dec 03 22:28:48 GMT 2020
    - 1.5K bytes
    - Viewed (0)
  4. tensorflow/c/eager/parallel_device/parallel_device_testlib.h

      // The a handle for the resource-dtype tensor pointing to the variable's
      // buffer.
      TFE_TensorHandle* handle_;
      // The dtype of the variable's buffer (input dtype for assignments, output
      // dtype of read operations).
      TF_DataType type_;
    };
    
    // Creates a TFE_TensorHandle with value `v`.
    TensorHandlePtr FloatTensorHandle(float v, TF_Status* status);
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Feb 09 01:12:35 GMT 2021
    - 6.9K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api.h

                                                   TF_Status* status);
    
    // Returns the length (number of tensors) of the output argument `output_name`
    // found in the provided `op`.
    TF_CAPI_EXPORT extern int TFE_OpGetOutputLength(TFE_Op* op,
                                                    const char* output_name,
                                                    TF_Status* status);
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 22.8K bytes
    - Viewed (1)
  6. tensorflow/c/eager/tape.h

      sources.reserve(output_tensors.size());
      for (const TapeTensor& output_tensor : output_tensors) {
        // Ownership of `aid` transferred to CallBackwardFunction below.
        Gradient* aid;
        if (output_tensor.GetDType() == tensorflow::DT_VARIANT) {
          // Note: Needs to be zeros rather than ones since there's currently no
          // ones_like for variants.
          aid = output_tensor.ZerosLike();
        } else {
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
  7. tensorflow/c/c_api_experimental.h

    //   - The types need not be set in `input_shapes` as it is not used.
    //   - The number of `input_tensors` should be the same as the number of items
    //     in `input_shapes`.
    //
    // The results are returned in `output_shapes` and
    // `output_resource_shapes_and_types`. The caller is responsible for freeing the
    // memory in these buffers by calling `TF_DeleteShapeAndTypeList`.
    TF_CAPI_EXPORT extern void TFE_InferShapes(
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api_unified_experimental.h

    // outputs must be set beforehand with `TF_OutputListSetNumOutputs`.
    typedef struct TF_OutputList TF_OutputList;
    TF_OutputList* TF_NewOutputList();
    void TF_DeleteOutputList(TF_OutputList* o);
    // Prepare tracing to the expected number of output for an operation.
    void TF_OutputListSetNumOutputs(TF_OutputList* o, int num_outputs, TF_Status*);
    // Return the number of outputs in the list.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sun Oct 24 11:27:00 GMT 2021
    - 7K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/grappler/grappler.h

      int32_t minor_version;
      int32_t patch_version;
    
      // Backend device type supported by the optimizer.
      const char* device_type;
      TP_OptimizerConfigs* optimizer_configs;  // output, set by plugin
      TP_Optimizer* optimizer;                 // output, set by plugin
    } TP_OptimizerRegistrationParams;
    
    #define TP_OPTIMIZER_REGISTRATION_PARAMS_STRUCT_SIZE \
      TF_OFFSET_OF_END(TP_OptimizerRegistrationParams, optimizer)
    
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Aug 03 18:08:43 GMT 2022
    - 12.5K bytes
    - Viewed (0)
  10. tensorflow/c/eager/c_api_remote_test_util.h

                                       bool heavy_load_on_streaming_rpc,
                                       bool remote_func_outputs = false,
                                       bool has_packed_input = false);
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Dec 11 22:56:03 GMT 2020
    - 1.4K bytes
    - Viewed (0)
Back to top