Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for SetAttrTensor (0.22 sec)

  1. tensorflow/c/experimental/gradients/tape/tape_operation.h

                             const AbstractOperation* value) override;
      Status SetAttrFunctionName(const char* attr_name, const char* value,
                                 size_t length) override;
      Status SetAttrTensor(const char* attr_name,
                           AbstractTensorInterface* tensor) override;
      Status SetAttrStringList(const char* attr_name, const void* const* 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)
  2. tensorflow/c/experimental/gradients/tape/tape_operation.cc

          "SetAttrFunctionName has not been implemented "
          "yet.");
    }
    Status TapeOperation::SetAttrTensor(const char* attr_name,
                                        AbstractTensorInterface* tensor) {
      return tensorflow::errors::Unimplemented(
          "SetAttrTensor has not been implemented yet.");
    }
    Status TapeOperation::SetAttrStringList(const char* attr_name,
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Tue Jun 07 01:53:35 GMT 2022
    - 9K bytes
    - Viewed (1)
  3. tensorflow/c/eager/abstract_operation.h

                                     const AbstractOperation* value) = 0;
      virtual Status SetAttrFunctionName(const char* attr_name, const char* value,
                                         size_t length) = 0;
      virtual Status SetAttrTensor(const char* attr_name,
                                   AbstractTensorInterface* tensor) = 0;
      virtual Status SetAttrStringList(const char* attr_name,
                                       const void* const* values,
    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)
  4. tensorflow/c/eager/gradients_internal.h

    Status SetAttrFunctionName(AbstractOperation*, const char* attr_name,
                               const char* value, size_t length, ForwardOperation*);
    Status SetAttrTensor(AbstractOperation*, const char* attr_name,
                         AbstractTensorInterface* tensor, ForwardOperation*);
    Status SetAttrStringList(AbstractOperation*, const char* attr_name,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sun Oct 24 11:27:35 GMT 2021
    - 4.2K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api_unified_experimental_graph.cc

        op_->node_builder.Attr(attr_name, func_name);
        return absl::OkStatus();
      }
      Status SetAttrTensor(const char* attr_name,
                           AbstractTensorInterface* tensor) override {
        return tensorflow::errors::Unimplemented(
            "SetAttrTensor has not been implemented yet.");
      }
      Status SetAttrStringList(const char* attr_name, const void* const* values,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 15.4K bytes
    - Viewed (1)
  6. tensorflow/c/eager/gradients.cc

          "SetAttrFunctionName has not been implemented "
          "yet.");
    }
    Status SetAttrTensor(AbstractOperation* op_, const char* attr_name,
                         AbstractTensorInterface* tensor,
                         ForwardOperation* forward_op_) {
      return tensorflow::errors::Unimplemented(
          "SetAttrTensor has not been implemented yet.");
    }
    Status SetAttrStringList(AbstractOperation* op_, const char* attr_name,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  7. tensorflow/c/c_test_util.cc

      return op;
    }
    
    void ConstHelper(TF_Tensor* t, TF_Graph* graph, TF_Status* s, const char* name,
                     TF_Operation** op) {
      TF_OperationDescription* desc = TF_NewOperation(graph, "Const", name);
      TF_SetAttrTensor(desc, "value", t, s);
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
      TF_SetAttrType(desc, "dtype", TF_TensorType(t));
      *op = TF_FinishOperation(desc, s);
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Oct 15 03:16:52 GMT 2021
    - 17.8K bytes
    - Viewed (2)
  8. tensorflow/c/c_api_test.cc

                                  const float* values, const char* name) {
        unique_tensor_ptr tensor(FloatTensor2x2(values), TF_DeleteTensor);
        TF_OperationDescription* desc = TF_NewOperation(graph, "Const", name);
        TF_SetAttrTensor(desc, "value", tensor.get(), s);
        if (TF_GetCode(s) != TF_OK) return nullptr;
        TF_SetAttrType(desc, "dtype", TF_FLOAT);
        TF_Operation* op = TF_FinishOperation(desc, s);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  9. tensorflow/c/eager/c_api.cc

                             TF_Status* status) {
      tensorflow::Tensor t;
      status->status = TF_TensorToTensor(tensor, &t);
      tensorflow::TensorInterface interface(t);
      status->status = tensorflow::unwrap(op)->SetAttrTensor(attr_name, &interface);
    }
    
    void TFE_OpSetAttrStringList(TFE_Op* op, const char* attr_name,
                                 const void* const* values, const size_t* lengths,
                                 int num_values) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 43.9K bytes
    - Viewed (2)
  10. tensorflow/c/c_api.h

        TF_OperationDescription* desc, const char* attr_name,
        const void* const* protos, const size_t* proto_lens, int num_shapes,
        TF_Status* status);
    
    TF_CAPI_EXPORT extern void TF_SetAttrTensor(TF_OperationDescription* desc,
                                                const char* attr_name,
                                                TF_Tensor* value,
                                                TF_Status* status);
    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)
Back to top