Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for it (0.15 sec)

  1. tensorflow/c/c_api_test.cc

      // Import it in a fresh graph.
      TF_DeleteGraph(graph);
      graph = TF_NewGraph();
      TF_ImportGraphDefOptions* opts = TF_NewImportGraphDefOptions();
      TF_GraphImportGraphDef(graph, graph_def, opts, s);
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    
      TF_Operation* scalar = TF_GraphOperationByName(graph, "scalar");
    
      // Import it in a fresh graph with an unused input mapping.
    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/eager/c_api_test.cc

        } else {
          // In sync mode, forwarding can't really happen since the client code will
          // have a reference count on the input tensor while the kernel is being
          // executed and thus it cannot be re-used for the return tensor.
          EXPECT_NE(orig_ptr, TF_TensorData(t));
        }
      }
    
      ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TFE_DeleteTensorHandle(m);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
  3. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

    // don't want to have a `std::vector<std::string>` at global level, we use a
    // static pointer to such a vector: we construct it via `SchemeVector()` below
    // and when tests are instantiated we process it using `GetSchemes()`.
    static std::vector<std::string>* SchemeVector() {
      static std::vector<std::string>* schemes = new std::vector<std::string>;
      return schemes;
    }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  4. tensorflow/c/c_api_function_test.cc

    }
    
    // Specification for an expected edge.
    // src is either:
    // - input name (as it appears in FunctionDef)
    // - name of output tensor (in nested "add:z:0" format)
    // dst is either:
    // - output name (as it appears in FunctionDef)
    // - <name_of_node>:<index_of_this_input_into_node> (this looks the same as
    //      output tensor naming, but it the index is actually an input index)
    struct EdgeSpec : public std::pair<string, string> {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
Back to top