Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for Hopper (0.17 sec)

  1. tensorflow/c/c_api_test.cc

      bool found_neg = false;
      size_t pos = 0;
      TF_Operation* oper;
      while ((oper = TF_GraphNextOperation(graph, &pos)) != nullptr) {
        if (oper == feed) {
          EXPECT_FALSE(found_placeholder);
          found_placeholder = true;
        } else if (oper == three) {
          EXPECT_FALSE(found_scalar_const);
          found_scalar_const = true;
        } else if (oper == add) {
          EXPECT_FALSE(found_add);
          found_add = true;
    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/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

        calls++;
        char c = (filename == "a") ? 'a' : (filename == "b") ? 'b' : 'x';
        if (offset > 0) {
          // The first block is lower case and all subsequent blocks are upper case.
          c = toupper(c);
        }
        memset(buffer, c, n);
        TF_SetStatus(status, TF_OK, "");
        return n;
      };
      // This cache has space for 4 blocks; we'll read from two files.
      const size_t n = 3;
    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)
  3. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc

      // incomplete reads may still go undetected.
      if (block->data.size() < block_size_) {
        Key fmax = std::make_pair(key.first, std::numeric_limits<size_t>::max());
        auto fcmp = block_map_.upper_bound(fmax);
        if (fcmp != block_map_.begin() && key < (--fcmp)->first) {
          return TF_SetStatus(status, TF_INTERNAL,
                              "Block cache contents are inconsistent.");
        }
      }
    
      Trim();
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 16 01:39:09 GMT 2020
    - 11.1K bytes
    - Viewed (0)
  4. tensorflow/c/c_api.cc

    const char* TF_OperationName(TF_Operation* oper) {
      return oper->node.name().c_str();
    }
    
    const char* TF_OperationOpType(TF_Operation* oper) {
      return oper->node.type_string().c_str();
    }
    
    const char* TF_OperationDevice(TF_Operation* oper) {
      return oper->node.requested_device().c_str();
    }
    
    int TF_OperationNumOutputs(TF_Operation* oper) {
      return oper->node.num_outputs();
    }
    
    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)
  5. tensorflow/c/c_test_util.cc

      TF_DeleteBuffer(buffer);
      TF_DeleteStatus(s);
      return ret;
    }
    
    bool GetNodeDef(TF_Operation* oper, tensorflow::NodeDef* node_def) {
      TF_Status* s = TF_NewStatus();
      TF_Buffer* buffer = TF_NewBuffer();
      TF_OperationToNodeDef(oper, buffer, s);
      bool ret = TF_GetCode(s) == TF_OK;
      EXPECT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Oct 15 03:16:52 GMT 2021
    - 17.8K bytes
    - Viewed (2)
  6. tensorflow/c/c_test_util.h

    bool GetGraphDef(TF_Graph* graph, tensorflow::GraphDef* graph_def);
    
    bool GetNodeDef(TF_Operation* oper, tensorflow::NodeDef* node_def);
    
    bool GetFunctionDef(TF_Function* func, tensorflow::FunctionDef* func_def);
    
    bool GetAttrValue(TF_Operation* oper, const char* attr_name,
                      tensorflow::AttrValue* attr_value, TF_Status* s);
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 09 01:06:53 GMT 2018
    - 6K bytes
    - Viewed (0)
  7. tensorflow/c/eager/c_api_unified_experimental_graph.cc

        return absl::OkStatus();
      }
    
      tensorflow::FullTypeDef FullType() const override {
        const FullTypeDef* ft;
        mutex_lock l(graph_->mu);
        graph_->graph.NodeType(output_.oper->node.name(), &ft);
        if (ft == nullptr) {
          return FullTypeDef();
        } else {
          return *ft;
        }
      }
    
      TF_Output output_;
    
      // For LLVM style RTTI.
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 15.4K bytes
    - Viewed (1)
  8. RELEASE.md

    # Release 2.9.1
    
    Add an upper bound for `protobuf` in `setup.py` since `protobuf` after version 3.20 is currently incompatible with TensorFlow. See https://github.com/tensorflow/tensorflow/issues/53234, https://github.com/protocolbuffers/protobuf/issues/9954 and https://github.com/tensorflow/tensorflow/issues/56077.
    
    # Release 2.8.2
    
    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)
  9. tensorflow/c/eager/tape.h

      if (VLOG_IS_ON(1)) {
        for (auto t : op_stack) {
          VLOG(1) << "  " << t;
        }
      }
      while (!op_stack.empty()) {
        const int64_t op = op_stack.back();
        VLOG(1) << "Popped " << op;
        op_stack.pop_back();
        auto op_it = state.op_tape.find(op);
        if (op_it == state.op_tape.end()) {
          // It is possible for ops to end up on the stack if they are unrelated to
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
  10. tensorflow/c/c_api.h

    TF_CAPI_EXPORT extern const char* TF_OperationName(TF_Operation* oper);
    TF_CAPI_EXPORT extern const char* TF_OperationOpType(TF_Operation* oper);
    TF_CAPI_EXPORT extern const char* TF_OperationDevice(TF_Operation* oper);
    
    TF_CAPI_EXPORT extern int TF_OperationNumOutputs(TF_Operation* oper);
    TF_CAPI_EXPORT extern TF_DataType TF_OperationOutputType(TF_Output oper_out);
    TF_CAPI_EXPORT extern int TF_OperationOutputListLength(TF_Operation* oper,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
Back to top