Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for valueOf (0.17 sec)

  1. tensorflow/c/c_api.h

                                                         TF_Tensor** value,
                                                         TF_Status* status);
    
    // Fills in `values` with the TF_Tensor values of the attribute `attr_name` of
    // `oper`. `values` must point to an array of TF_Tensor* of length at least
    // `max_values` (ideally set to TF_AttrMetadata.list_size from
    // TF_OperationGetAttrMetadata(oper, attr_name)).
    //
    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

        auto device_value = absl::make_unique<DataType>();
        *device_value = values[device_index];
        std::unique_ptr<TF_Tensor, decltype(&TF_DeleteTensor)> tensor(
            TF_NewTensor(
                datatype_enum, /*dims=*/nullptr, /*num_dims=*/0,
                device_value.release(), sizeof(DataType),
                [](void* data, size_t, void* arg) {
                  delete reinterpret_cast<DataType*>(data);
                },
    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/eager/c_api_experimental_reader.h

    // read current values from streamz counters defined in other modules.
    //
    // The code under test will have created streamz counters like this:
    // auto* streamz = tensorflow::monitoring::Counter<1>::New("name",
    // "description", "label");
    // and then incremented that counter for various values of label:
    // streamz->GetCell("label-value")->IncrementBy(1);
    //
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 20 03:14:47 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api_test_util.h

      TF_DeleteTensor(t);
      TF_DeleteStatus(status);
      return th;
    }
    
    // Return a scalar tensor handle with given values.
    template <class T, TF_DataType datatype>
    TFE_TensorHandle* TestScalarTensorHandle(TFE_Context* ctx, const T value) {
      T data[] = {value};
      return TestTensorHandleWithDims<T, datatype>(ctx, data, nullptr, 0);
    }
    
    // Return a tensor handle containing a 100x100 matrix of floats
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Jul 17 23:43:59 GMT 2023
    - 7.7K bytes
    - Viewed (0)
  5. tensorflow/c/env.h

    TF_CAPI_EXPORT extern uint64_t TF_NowMicros(void);
    
    // Returns the number of seconds since the Unix epoch.
    TF_CAPI_EXPORT extern uint64_t TF_NowSeconds(void);
    
    // Populates a TF_ThreadOptions struct with system-default values.
    TF_CAPI_EXPORT extern void TF_DefaultThreadOptions(TF_ThreadOptions* options);
    
    // Returns a new thread that is running work_func and is identified
    // (for debugging/performance-analysis) by thread_name.
    //
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sat Jan 09 02:53:27 GMT 2021
    - 9.6K bytes
    - Viewed (0)
  6. tensorflow/c/eager/abstract_operation.h

                                    int num_values) = 0;
      virtual Status SetAttrTypeList(const char* attr_name, const DataType* values,
                                     int num_values) = 0;
      virtual Status SetAttrBoolList(const char* attr_name,
                                     const unsigned char* values,
                                     int num_values) = 0;
      virtual Status SetAttrShapeList(const char* attr_name, const int64_t** dims,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Jul 14 16:20:41 GMT 2021
    - 6.8K bytes
    - Viewed (0)
  7. tensorflow/c/eager/c_api.h

                                                     int num_values);
    TF_CAPI_EXPORT extern void TFE_OpSetAttrTypeList(TFE_Op* op,
                                                     const char* attr_name,
                                                     const TF_DataType* values,
                                                     int num_values);
    TF_CAPI_EXPORT extern void TFE_OpSetAttrShapeList(
    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)
  8. tensorflow/c/experimental/gradients/tape/tape_operation.h

                              int num_values) override;
      Status SetAttrIntList(const char* attr_name, const int64_t* values,
                            int num_values) override;
      Status SetAttrTypeList(const char* attr_name, const DataType* values,
                             int num_values) override;
      Status SetAttrBoolList(const char* attr_name, const unsigned char* values,
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Sep 23 23:12:39 GMT 2020
    - 3.7K bytes
    - Viewed (1)
  9. tensorflow/c/c_api_experimental.h

                                                     TF_DataType value);
    TF_CAPI_EXPORT extern void TF_AttrBuilderSetTypeList(TF_AttrBuilder* builder,
                                                         const char* attr_name,
                                                         const TF_DataType* values,
                                                         int num_values);
    
    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)
  10. tensorflow/c/eager/tape.h

    // gradient function can accept None values. e.g. FusedBatchNorm outputs 5
    // values and hence receives 5 gradient values during backprop. However the
    // gradient function uses only the first of those values and ignores the rest.
    // The entry, "FusedBatchNorm": [1, 2, 3, 4], indicates that only the gradient
    // corresponding to index 0 is used, and the gradient values at indices 1-4 are
    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)
Back to top