Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for pair (0.13 sec)

  1. tensorflow/c/checkpoint_reader.cc

          if (!status.ok()) out_tensor->reset();
        }
      }
      if (!status.ok()) {
        tsl::Set_TF_Status_from_Status(out_status, status);
      }
    }
    
    std::pair<std::unique_ptr<TensorSliceReader::VarToShapeMap>,
              std::unique_ptr<TensorSliceReader::VarToDataTypeMap>>
    CheckpointReader::BuildV2VarMaps() {
      CHECK(v2_reader_ != nullptr);
      CHECK(v2_reader_->status().ok());
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Aug 25 21:29:12 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  2. tensorflow/c/checkpoint_reader.h

     private:
      // Uses "v2_reader_" to build "var name -> shape" and "var name -> data type"
      // maps; both owned by caller.
      // REQUIRES: "v2_reader_ != nullptr && v2_reader_.status().ok()".
      std::pair<std::unique_ptr<TensorSliceReader::VarToShapeMap>,
                std::unique_ptr<TensorSliceReader::VarToDataTypeMap> >
      BuildV2VarMaps();
    
      // Invariant: exactly one of "reader_" and "v2_reader_" is non-null.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 12 08:49:52 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  3. tensorflow/c/eager/tape.h

      // users want to compute multiple gradients over the same tape.
      explicit GradientTape(bool persistent) : persistent_(persistent) {}
      ~GradientTape() {
        for (const auto& pair : op_tape_) {
          pair.second.backward_function_deleter(pair.second.backward_function);
        }
      }
    
      // Returns whether any tensor in a list of tensors is being watched and has
      // a trainable dtype.
    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)
  4. tensorflow/c/c_api.cc

    }
    
    static bool TF_Run_Inputs(TF_Tensor* const* c_inputs,
                              std::vector<std::pair<string, Tensor>>* input_pairs,
                              TF_Status* status) {
      const int ninputs = input_pairs->size();
      for (int i = 0; i < ninputs; ++i) {
        status->status =
            TF_TensorToTensorV1(c_inputs[i], &(*input_pairs)[i].second);
        if (!status->status.ok()) return false;
      }
      return true;
    }
    
    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_api_function_test.cc

    //      output tensor naming, but it the index is actually an input index)
    struct EdgeSpec : public std::pair<string, string> {
      typedef std::pair<string, string> Base;
    
      // Inherit the set of constructors
      using Base::pair;
    
      string ToString() const { return strings::StrCat(first, "->", second); }
    };
    
    class CApiFunctionTest : public ::testing::Test {
     protected:
    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)
  6. tensorflow/c/eager/gradients.cc

        int64_t target_id = target_tensor_ids[i];
        if (sources_set.find(target_id) != sources_set.end()) {
          auto tensor = targets[i];
          sources_that_are_targets.insert(
              std::make_pair(target_id, TapeTensor(tensor)));
        }
      }
    
      TF_RETURN_IF_ERROR(GradientTape::ComputeGradient(
          vspace, target_tensor_ids, source_tensor_ids, sources_that_are_targets,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  7. ci/official/containers/linux_arm64/devel.usertools/code_check_full.bats

    //tensorflow/python:tf_optimizer
    //tensorflow/python:compare_test_proto_py
    //tensorflow/python/framework:test_ops_2
    //tensorflow/python/framework:test_file_system.so
    //tensorflow/python/debug:grpc_tensorflow_server.par
    //tensorflow/python/feature_column:vocabulary_testdata
    //tensorflow/python/util:nest_test_main_lib
    //tensorflow/lite/experimental/examples/lstm:rnn_cell
    //tensorflow/lite/experimental/examples/lstm:rnn_cell.py
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 12.7K bytes
    - Viewed (0)
  8. RELEASE.md

            (`tf.float32`).
    *   NNAPI
        *   Adds NNAPI Delegation support for requantization use cases by converting
            the operation into a dequantize-quantize pair.
        *   Removes deprecated `Interpreter.setUseNNAPI(boolean)` Java API. Use
            `Interpreter.Options.setUseNNAPI` instead.
        *   Deprecates `Interpreter::UseNNAPI(bool)` C++ API. Use `NnApiDelegate()`
    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. ci/official/utilities/code_check_full.bats

    //tensorflow/python:mixed_precision
    //tensorflow/python:tf_optimizer
    //tensorflow/python:compare_test_proto_py
    //tensorflow/python/framework:test_file_system.so
    //tensorflow/python/debug:grpc_tensorflow_server.par
    //tensorflow/python/feature_column:vocabulary_testdata
    //tensorflow/python/util:nest_test_main_lib
    //tensorflow/lite/experimental/examples/lstm:rnn_cell
    //tensorflow/lite/experimental/examples/lstm:rnn_cell.py
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 06 21:54:13 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  10. tensorflow/c/c_api.h

    // Sets `output` based on `proto`, which should be a serialized
    // CppShapeInferenceResult::HandleData proto. `output` should be a resource
    // or variant tensor.
    // NOTE(skyewm): `proto` is passed a void*/size_t pair instead of a std::string
    // because I couldn't get SWIG to work otherwise.
    TF_CAPI_EXPORT extern void TF_SetHandleShapeAndType(TF_Graph* graph,
                                                        TF_Output output,
    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