Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for TF_SetAttrTensor (0.08 sec)

  1. 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);
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Fri Dec 27 12:18:10 UTC 2024
    - 97K bytes
    - Viewed (0)
  2. 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);
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  3. tensorflow/c/c_api.cc

              InvalidArgument("Unparseable TensorShapeProto at index ", i);
          return;
        }
      }
      desc->node_builder.Attr(attr_name, shapes);
      status->status = absl::OkStatus();
    }
    
    void TF_SetAttrTensor(TF_OperationDescription* desc, const char* attr_name,
                          TF_Tensor* value, TF_Status* status) {
      Tensor t;
      status->status = TF_TensorToTensor(value, &t);
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Tue May 13 06:30:43 UTC 2025
    - 102.3K bytes
    - Viewed (0)
  4. RELEASE.md

    *   C API: Renamed `TF_Port` to `TF_Output`.
    *   C API: The caller retains ownership of `TF_Tensor` objects provided to
        `TF_Run`, `TF_SessionRun`, `TF_SetAttrTensor` etc.
    *   Renamed `tf.image.per_image_whitening()` to
        `tf.image.per_image_standardization()`
    *   Move Summary protobuf constructors to `tf.summary` submodule.
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Aug 18 20:54:38 UTC 2025
    - 740K bytes
    - Viewed (1)
Back to top