Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for exports (0.57 sec)

  1. 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 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  2. 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 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  3. RELEASE.md

    *   `tf.estimator`:
        *   `Estimator`s now use custom savers included in `EstimatorSpec` scaffolds
            for saving SavedModels during export.
        *   `EstimatorSpec` will now add a default prediction output for export if
            no `export_output` is provided, eliminating the need to explicitly
            include a `PredictOutput` object in the `model_fn` for simple use-cases.
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Apr 29 19:17:57 GMT 2024
    - 727.7K bytes
    - Viewed (8)
  4. 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 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 35.9K bytes
    - Viewed (3)
  5. 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 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
  6. configure.py

      # Write tools/python_bin_path.sh
      with open(
          os.path.join(_TF_WORKSPACE_ROOT, 'tools', 'python_bin_path.sh'),
          'w') as f:
        f.write('export PYTHON_BIN_PATH="{}"'.format(python_bin_path))
    
    
    def reset_tf_configure_bazelrc():
      """Reset file that contains customized config settings."""
      open(_TF_BAZELRC, 'w').close()
    
    
    def cleanup_makefile():
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (1)
Back to top