Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 34 for input_node (0.21 sec)

  1. tensorflow/cc/framework/gradients.cc

      }
    
      std::unordered_set<int> stop_backprop_nodes =
          GetStopBackpropNodes(reachable_nodes, output_nodes);
    
      // Populate `input_nodes_` from Outputs in `inputs_`.
      input_nodes_.reserve(inputs_.size());
      for (size_t i = 0; i < inputs_.size(); ++i) {
        input_nodes_.insert({inputs_[i], i});
      }
    
      // TODO(andydavis) Consider a more efficient data structure for `pending_` to
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:57:22 UTC 2024
    - 22K bytes
    - Viewed (0)
  2. tensorflow/cc/saved_model/saved_model_bundle_lite_test.cc

        ValidateAssets(export_dir, bundle);
        // Retrieve the regression signature from the bundle.
        const auto& signature_def = bundle.GetSignatures().at("regress_x_to_y");
    
        const string input_name = signature_def.inputs().at(kRegressInputs).name();
        const string output_name =
            signature_def.outputs().at(kRegressOutputs).name();
    
        std::vector<tstring> serialized_examples;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 14 19:16:58 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/passes/manipulate_model_attr.h

    namespace quant {
    
    // Adds a new input name to the `inputs` field of the `tf.entry_function`
    // attribute if the attribute exist in the given function. Otherwise, no
    // attribute is modified.
    void AddEntryFunctionInput(StringRef input_name, func::FuncOp func_op);
    
    }  // namespace quant
    }  // namespace mlir
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 26 01:13:26 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/odml_to_stablehlo.cc

    //  * Options for full/partial conversion, Op exceptions list.
    //  * Option to serialize output to TFL flatbuffer format.
    
    using llvm::cl::opt;
    
    // NOLINTNEXTLINE
    opt<std::string> input_model(llvm::cl::Positional,
                                 llvm::cl::desc("<input model path>"),
                                 llvm::cl::Required);
    
    // NOLINTNEXTLINE
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:16:49 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  5. tensorflow/c/eager/immediate_execution_operation.h

      // that the argument need to be handled by a custom device.
      virtual bool HasCustomDeviceInput() const = 0;
    
      virtual const tensorflow::OpDef* OpDef() const = 0;
    
      virtual Status InputLength(const char* input_name, int* length) = 0;
      virtual Status OutputLength(const char* output_name, int* length) = 0;
    
      // Set stack trace to be used for potential async error reporting.
      virtual void SetStackTrace(ManagedStackTrace stack_trace) = 0;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Sep 26 22:40:32 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  6. tensorflow/cc/saved_model/saved_model_bundle_test.cc

        ValidateAssets(export_dir, bundle);
        // Retrieve the regression signature from meta graph def.
        const auto& signature_def = bundle.GetSignatures().at("regress_x_to_y");
    
        const string input_name = signature_def.inputs().at(kRegressInputs).name();
        const string output_name =
            signature_def.outputs().at(kRegressOutputs).name();
    
        std::vector<tstring> serialized_examples;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 14 19:16:58 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/python/quantize_model.py

      quantization_options = tf.quantization.experimental.QuantizationOptions(
          signature_keys=['your_signature_key'],
      )
      tf.quantization.experimental.quantize_saved_model(
          '/tmp/input_model',
          '/tmp/output_model',
          quantization_options=quantization_options,
      )
    
      # When quantizing a model trained without QAT (Post-Training Quantization),
      # a representative dataset is required.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  8. tensorflow/c/kernels_experimental.h

    // `TF_MaybeLockVariableInputMutexesInOrder` API
    TF_CAPI_EXPORT extern void TF_ReleaseVariableInputLockHolder(
        TF_VariableInputLockHolder* lockHolder);
    
    // Allows plugin to get TF_Tensor when passed its input_name
    TF_CAPI_EXPORT extern void TF_GetInputByName(TF_OpKernelContext* ctx,
                                                 const char* inputName,
                                                 TF_Tensor** tensor,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 07 14:44:39 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/tf_to_tfl_flatbuffer.cc

      flatbuffers::FlatBufferBuilder q_builder(/*initial_size=*/10240);
      const uint8_t* buffer =
          reinterpret_cast<const uint8_t*>(translated_result.c_str());
      const ::tflite::Model* input_model = ::tflite::GetModel(buffer);
    
      ::tflite::optimize::BufferType quantized_type;
      switch (quant_specs.inference_type) {
        case DT_QINT8:
          quantized_type = ::tflite::optimize::BufferType::QUANTIZED_INT8;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  10. tensorflow/c/eager/c_api.h

                                                         int num_values);
    
    // Returns the length (number of tensors) of the input argument `input_name`
    // found in the provided `op`.
    TF_CAPI_EXPORT extern int TFE_OpGetInputLength(TFE_Op* op,
                                                   const char* input_name,
                                                   TF_Status* status);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 27 21:07:00 UTC 2023
    - 22.8K bytes
    - Viewed (0)
Back to top