Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for exports (0.17 sec)

  1. tensorflow/c/c_api.cc

        DCHECK_EQ(nullptr, session);
        return nullptr;
      }
    }
    
    TF_Session* TF_LoadSessionFromSavedModel(
        const TF_SessionOptions* session_options, const TF_Buffer* run_options,
        const char* export_dir, const char* const* tags, int tags_len,
        TF_Graph* graph, TF_Buffer* meta_graph_def, TF_Status* status) {
    // TODO(sjr): Remove the IS_MOBILE_PLATFORM guard. This will require ensuring
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_experimental.cc

      status->status = absl::OkStatus();
      return tensorflow::wrap(tensorflow::TensorHandle::CreateLocalHandle(tensor));
    }
    
    // Set server_def on the context, possibly updating it.
    TF_CAPI_EXPORT extern void TFE_EnableCollectiveOps(TFE_Context* ctx,
                                                       const void* proto,
                                                       size_t proto_len,
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_debug.cc

      }
      return new TFE_TensorDebugInfo(dev_dims);
    }
    
    TF_CAPI_EXPORT extern void TFE_DeleteTensorDebugInfo(
        TFE_TensorDebugInfo* debug_info) {
      delete debug_info;
    }
    
    TF_CAPI_EXPORT extern int TFE_TensorDebugInfoOnDeviceNumDims(
        TFE_TensorDebugInfo* debug_info) {
      return debug_info->dev_dims.size();
    }
    
    TF_CAPI_EXPORT extern int64_t TFE_TensorDebugInfoOnDeviceDim(
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Aug 11 01:20:50 GMT 2021
    - 2.5K bytes
    - Viewed (0)
  4. tensorflow/c/c_api_test.cc

      ASSERT_TRUE(TF_GraphOperationByName(graph, "scalar") != nullptr);
      Neg(oper, graph, s);
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
      ASSERT_TRUE(TF_GraphOperationByName(graph, "neg") != nullptr);
    
      // Export to a GraphDef.
      TF_Buffer* graph_def = TF_NewBuffer();
      TF_GraphToGraphDef(graph, graph_def, s);
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    
      // Import it, with a prefix, in a fresh graph.
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  5. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

      env->SetNowSeconds(now + 1);
      TF_EXPECT_OK(ReadCache(&cache, "b", 0, 1, &out));
      // Now load a different block of file "a" at timestamp `now` + 1. When the
      // first block of "a" expires, this block should also be removed because it
      // also belongs to file "a".
      TF_EXPECT_OK(ReadCache(&cache, "a", 8, 1, &out));
      // Ensure that all blocks are in the cache (i.e. reads are cache hits).
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Oct 15 03:16:57 GMT 2021
    - 23.2K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api.cc

    }
    
    TF_CAPI_EXPORT extern int TFE_OpGetInputLength(TFE_Op* op,
                                                   const char* input_name,
                                                   TF_Status* status) {
      int ret = -1;
      status->status = tensorflow::unwrap(op)->InputLength(input_name, &ret);
      return ret;
    }
    
    TF_CAPI_EXPORT extern int TFE_OpGetOutputLength(TFE_Op* op,
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 43.9K bytes
    - Viewed (2)
  7. tensorflow/c/experimental/filesystem/modular_filesystem_registration.cc

    //     additional entries in the plugin's table are just discarded;
    //   * allows having older plugins than the current core TensorFlow (though
    //     we are still warning users): the entries that core TensorFlow expects
    //     but plugins didn't provide will be set to `nullptr` values and core
    //     TensorFlow will know to not call these on behalf of users;
    //   * increased security as plugins will not be able to alter function table
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Mar 07 22:08:43 GMT 2023
    - 12.8K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api_experimental.cc

      if (h == nullptr) {
        status->status = tensorflow::errors::InvalidArgument("Invalid handle");
        return -1;
      }
      return tensorflow::unwrap(h)->DeviceId(&status->status);
    }
    
    TF_CAPI_EXPORT extern void TFE_TensorHandleGetStatus(TFE_TensorHandle* h,
                                                         TF_Status* status) {
      status->status = tensorflow::unwrap(h)->TensorHandleStatus();
    }
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 35.9K bytes
    - Viewed (3)
Back to top