Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 224 for tf (0.15 sec)

  1. tensorflow/c/c_test_util.cc

      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);
      ASSERT_NE(*op, nullptr);
    }
    
    TF_Operation* Const(TF_Tensor* t, TF_Graph* graph, TF_Status* s,
                        const char* name) {
      TF_Operation* op;
      ConstHelper(t, graph, s, name, &op);
      return op;
    }
    
    C++
    - Registered: Tue Apr 16 12:39:09 GMT 2024
    - Last Modified: Fri Oct 15 03:16:52 GMT 2021
    - 17.8K bytes
    - Viewed (2)
  2. tensorflow/c/eager/c_api_unified_experimental.h

    void TF_DeleteAbstractTensor(TF_AbstractTensor*);
    
    // TF_OutputList holds the list of TF_AbstractTensor that results from executing
    // an operation, or provided to create a function.
    // When executing an operation in an eager context, the expected number of
    // outputs must be set beforehand with `TF_OutputListSetNumOutputs`.
    typedef struct TF_OutputList TF_OutputList;
    TF_OutputList* TF_NewOutputList();
    C
    - Registered: Tue Apr 16 12:39:09 GMT 2024
    - Last Modified: Sun Oct 24 11:27:00 GMT 2021
    - 7K bytes
    - Viewed (0)
  3. tensorflow/c/env.cc

    }
    
    void TF_SyncWritableFile(TF_WritableFileHandle* handle, TF_Status* status) {
      auto* cc_file = reinterpret_cast<::tensorflow::WritableFile*>(handle);
      TF_SetStatus(status, TF_OK, "");
      ::tensorflow::Set_TF_Status_from_Status(status, cc_file->Sync());
    }
    
    void TF_FlushWritableFile(TF_WritableFileHandle* handle, TF_Status* status) {
      auto* cc_file = reinterpret_cast<::tensorflow::WritableFile*>(handle);
      TF_SetStatus(status, TF_OK, "");
    C++
    - Registered: Tue Apr 16 12:39:09 GMT 2024
    - Last Modified: Wed Aug 11 01:20:50 GMT 2021
    - 7K bytes
    - Viewed (0)
  4. tensorflow/c/eager/custom_device_test.cc

      ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get());
      std::unique_ptr<TF_Tensor, decltype(&TF_DeleteTensor)> resolved_value(
          TFE_TensorHandleResolve(var_value_unpacked, status.get()),
          TF_DeleteTensor);
      ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get());
      ASSERT_EQ(111., *static_cast<float*>(TF_TensorData(resolved_value.get())));
    
    C++
    - Registered: Tue Apr 16 12:39:09 GMT 2024
    - Last Modified: Thu Aug 27 23:39:24 GMT 2020
    - 18.4K bytes
    - Viewed (0)
  5. tensorflow/c/env_test.cc

        TF_AppendWritableFile(handle, data, strlen(data), s);
        ASSERT_TF_OK(s) << "TF_AppendWritableFile failed to append data to file at "
                        << filepath << ": " << TF_Message(s);
    
        TF_CloseWritableFile(handle, s);
        ASSERT_TF_OK(s) << "TF_CloseWritableFile failed to close handle to "
                        << filepath << ": " << TF_Message(s);
    
        TF_StringStream* children = TF_GetChildren(dirpath.c_str(), s);
    C++
    - Registered: Tue Apr 16 12:39:09 GMT 2024
    - Last Modified: Mon Dec 10 20:52:48 GMT 2018
    - 4.2K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/grappler/grappler.h

      void* ext;  // reserved for future use
      TF_TriState disable_model_pruning;
      TF_TriState implementation_selector;
      TF_TriState function_optimization;
      TF_TriState common_subgraph_elimination;
      TF_TriState arithmetic_optimization;
      TF_TriState debug_stripper;
      TF_TriState constant_folding;
      TF_TriState shape_optimization;
      TF_TriState auto_mixed_precision;
      TF_TriState auto_mixed_precision_onednn_bfloat16;
    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)
  7. tensorflow/c/eager/dlpack.cc

          break;
        case TF_DataType::TF_INT8:
        case TF_DataType::TF_INT16:
        case TF_DataType::TF_INT32:
        case TF_DataType::TF_INT64:
          dtype.code = DLDataTypeCode::kDLInt;
          break;
        case TF_DataType::TF_UINT8:
        case TF_DataType::TF_UINT16:
        case TF_DataType::TF_UINT32:
        case TF_DataType::TF_UINT64:
          dtype.code = DLDataTypeCode::kDLUInt;
          break;
        case TF_DataType::TF_BFLOAT16:
    C++
    - Registered: Tue Apr 16 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/grappler/grappler.cc

        if (!s.ok()) {
          tsl::Set_TF_Status_from_Status(status, s);
          return;
        }
      }
    }
    
    void TF_GetOutputPropertiesList(TF_GraphProperties* graph_properties,
                                    const char* name, TF_Buffer** properties,
                                    int num_values, TF_Status* status) {
      TF_SetStatus(status, TF_OK, "");
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Sep 06 19:12:29 GMT 2023
    - 15K bytes
    - Viewed (1)
  9. tensorflow/c/eager/c_api_experimental.h

                                                         TF_Status* status);
    
    // Get GraphDebugInfo containing stack traces mapping to node names
    TF_CAPI_EXPORT extern void TFE_ContextGetGraphDebugInfo(
        TFE_Context* ctx, const char* function_name, TF_Buffer* buf,
        TF_Status* status);
    
    // Extracts a TF_Function from the context.
    // Must call TF_DeleteFunction on the returned value.
    C
    - Registered: Tue Apr 16 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
  10. tensorflow/c/BUILD

            "tf_tensor.h",
            "tf_tstring.h",
        ],
        copts = tf_copts(),
        visibility = ["//visibility:public"],
        deps = [
            ":c_api_internal",
            ":c_api_macros_hdrs",
            ":c_api_no_xla",
            ":tf_attrtype",
            ":tf_buffer",
            ":tf_file_statistics",
            ":tf_status_helper",
            ":tf_status_internal",
            ":tf_tensor_internal",
            ":tf_tstring",
    Plain Text
    - Registered: Tue Apr 16 12:39:09 GMT 2024
    - Last Modified: Wed Mar 27 18:00:18 GMT 2024
    - 30.3K bytes
    - Viewed (0)
Back to top