Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 34 for type (0.15 sec)

  1. tensorflow/c/eager/tape.h

        tensor_stack.pop_back();
        auto op_id_it = tensor_tape.find(tensor_id);
        if (op_id_it == tensor_tape.end()) {
          continue;
        }
        int64_t op_id = op_id_it->second;
        auto op_it = op_tape->find(op_id);
        auto result_op_it = result.op_tape.find(op_id);
        if (op_id == -1 || op_it == op_tape->end() ||
            result_op_it != result.op_tape.end()) {
          continue;
        }
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
  2. tensorflow/c/eager/abstract_op_attrs.h

      virtual bool GetType(absl::string_view attr_name, DataType* result) const = 0;
      virtual Status GetTypeList(
          absl::string_view attr_name,
          absl::InlinedVector<DataType, 4>* type_list) const = 0;
    
     private:
      const AbstractOpAttrsKind kind_;
    };
    
    }  // namespace tensorflow
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed May 26 22:20:27 GMT 2021
    - 2K bytes
    - Viewed (0)
  3. tensorflow/c/eager/immediate_execution_tensor_handle.h

      virtual const char* DeviceName(Status* status) const = 0;
      // Returns the device where the tensor was placed.
      virtual const char* BackingDeviceName(Status* status) const = 0;
      // Returns the device type which created the handle.
      virtual const char* DeviceType(Status* status) const = 0;
      // Returns the device ID which created the handle.
      virtual int DeviceId(Status* status) const = 0;
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Mar 10 21:56:24 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  4. tensorflow/c/eager/unified_api_testutil.h

                    absl::Span<AbstractTensorHandle*> outputs, bool use_function);
    
    Status BuildImmediateExecutionContext(bool use_tfrt, AbstractContext** ctx);
    
    // Return a tensor handle with given type, values and dimensions.
    template <class T, TF_DataType datatype>
    Status TestTensorHandleWithDims(AbstractContext* ctx, const T* data,
                                    const int64_t* dims, int num_dims,
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Feb 27 13:57:45 GMT 2024
    - 4K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api_experimental.h

    // off, and an execution operation for named operations. Often execution will
    // simply wrap op execution on one or more physical devices.
    //
    // device_info is an opaque caller-defined type stored with the custom device
    // which is passed to the functions referenced in the TFE_CustomDevice struct
    // `device` (execute, delete_device, etc.). It can for example contain the
    // names of wrapped devices.
    //
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
  6. tensorflow/c/eager/parallel_device/parallel_device_testlib.h

    class Variable {
     public:
      // Construct a Variable from a resource-dtype TFE_TensorHandle and an
      // indication of the dtype of the variable's value.
      //
      // Note that creating this resource-dtype handle can fail, so `Create` is a
      // separate static method which returns a status.
      Variable(TFE_TensorHandle* handle, TF_DataType type)
          : handle_(handle), type_(type) {}
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Feb 09 01:12:35 GMT 2021
    - 6.9K bytes
    - Viewed (0)
  7. tensorflow/c/c_api_experimental.h

        TF_Status* status);
    
    // Information about the shape of a Tensor and its type.
    struct TF_ShapeAndType {
      // Number of dimensions. -1 indicates unknown rank.
      int num_dims;
      // Array of dimensions. -1 indicates unknown dim.
      int64_t* dims;
      // The data type. May be 0 to denote unknown type.
      TF_DataType dtype;
    };
    
    typedef struct TF_ShapeAndType TF_ShapeAndType;
    
    C
    - Registered: Tue Apr 23 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_test_util.h

                  TFE_TensorHandle* axis);
    
    // If there is a device of type `device_type`, returns true
    // and sets 'device_name' accordingly.
    // `device_type` must be either "GPU" or "TPU".
    bool GetDeviceName(TFE_Context* ctx, tensorflow::string* device_name,
                       const char* device_type);
    
    // Create a ServerDef with the given `job_name` and add `num_tasks` tasks in it.
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Jul 17 23:43:59 GMT 2023
    - 7.7K bytes
    - Viewed (0)
  9. tensorflow/c/c_api.h

      // Length of the list if is_list is true. Undefined otherwise.
      int64_t list_size;
    
      // Type of elements of the list if is_list != 0.
      // Type of the single value stored in the attribute if is_list == 0.
      TF_AttrType type;
    
      // Total size the attribute value.
      // The units of total_size depend on is_list and type.
      // (1) If type == TF_ATTR_STRING and is_list == 0
      //     then total_size is the byte size of the string
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
  10. src/cmd/cgo/internal/test/issue26213/jni.h

    typedef jarray jintArray;
    typedef jarray jlongArray;
    typedef jarray jfloatArray;
    typedef jarray jdoubleArray;
    typedef jarray jobjectArray;
    
    typedef jobject jweak;
    
    C
    - Registered: Tue Mar 26 11:13:08 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 874 bytes
    - Viewed (0)
Back to top