Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 839 for outputId (0.2 sec)

  1. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

      }
    
      TFE_Execute(op_.get(), unwrapped_results.data(), &real_num_outputs, status);
      if (TF_GetCode(status) != TF_OK) {
        cancellation_manager_->StartCancel();
        return;
      }
      unwrapped_results.resize(real_num_outputs);
      outputs->reserve(real_num_outputs);
      for (TFE_TensorHandle* unwrapped_result : unwrapped_results) {
        outputs->emplace_back(unwrapped_result);
      }
    }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Feb 09 07:47:20 GMT 2024
    - 25.4K bytes
    - Viewed (1)
  2. tensorflow/c/eager/gradient_checker.cc

      AbstractTensorHandlePtr model_out(model_outputs[0]);
    
      TF_Tensor* model_out_tensor;
      TF_RETURN_IF_ERROR(GetValue(model_out.get(), &model_out_tensor));
      int num_dims_out = TF_NumDims(model_out_tensor);
      TF_DeleteTensor(model_out_tensor);
    
      // If the output is a scalar, then return the scalar output
      if (num_dims_out == 0) {
        outputs[0] = model_out.release();
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  3. tensorflow/c/eager/gradients.h

    //                  absl::Span<AbstractTensorHandle* const> grad_inputs,
    //                  absl::Span<AbstractTensorHandle*> grad_outputs) override {
    //     grad_outputs[0] = grad_inputs[0];
    //     grad_outputs[1] = grad_inputs[0];
    //     grad_outputs[0]->Ref();
    //     grad_outputs[1]->Ref();
    //     return OkStatus();
    //   }
    //   ~AddGradientFunction() override {}
    // };
    //
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 26 10:27:05 GMT 2022
    - 6.9K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/gradients/grad_test_helper.cc

        TF_RETURN_IF_ERROR(tape.ComputeGradient(ctx, /*targets=*/temp_outputs,
                                                /*sources=*/inputs,
                                                /*output_gradients=*/{}, outputs));
        for (auto temp_output : temp_outputs) {
          temp_output->Unref();
        }
        return absl::OkStatus();
      };
    }
    
    }  // namespace internal
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 5K bytes
    - Viewed (0)
  5. tests/test_openapi_separate_input_output_schemas.py

        sub: Optional[SubItem] = None
        if PYDANTIC_V2:
            model_config = {"json_schema_serialization_defaults_required": True}
    
    
    def get_app_client(separate_input_output_schemas: bool = True) -> TestClient:
        app = FastAPI(separate_input_output_schemas=separate_input_output_schemas)
    
        @app.post("/items/")
        def create_item(item: Item):
            return item
    
        @app.post("/items-list/")
        def create_item_list(item: List[Item]):
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Sep 28 04:14:40 GMT 2023
    - 18.4K bytes
    - Viewed (2)
  6. istioctl/pkg/writer/envoy/configdump/testdata/endpoint/emptyfilter_output.yaml

    zirain <******@****.***> 1657592759 +0800
    Others
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Jul 12 02:25:59 GMT 2022
    - 17.1K bytes
    - Viewed (0)
  7. tensorflow/c/c_test_util.cc

      }
      ResetOutputValues();
      output_values_.resize(outputs_.size(), nullptr);
    
      const TF_Output* inputs_ptr = inputs_.empty() ? nullptr : &inputs_[0];
      TF_Tensor* const* input_values_ptr =
          input_values_.empty() ? nullptr : &input_values_[0];
    
      const TF_Output* outputs_ptr = outputs_.empty() ? nullptr : &outputs_[0];
      TF_Tensor** output_values_ptr =
          output_values_.empty() ? nullptr : &output_values_[0];
    
    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)
  8. istioctl/pkg/writer/envoy/configdump/testdata/endpoint/portfilter_output.json

    zirain <******@****.***> 1657592759 +0800
    Json
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Jul 12 02:25:59 GMT 2022
    - 2.4K bytes
    - Viewed (0)
  9. tensorflow/c/eager/parallel_device/parallel_device.cc

      std::vector<MaybeParallelTensorOwned> typed_outputs(
          std::move(maybe_typed_outputs.value()));
    
      if (typed_outputs.size() > *num_outputs) {
        TF_SetStatus(status, TF_INTERNAL,
                     "The allocated output buffer was too small.");
        return;
      }
    
      for (int i = 0; i < typed_outputs.size(); ++i) {
        MaybeParallelTensorOwned typed_output(std::move(typed_outputs[i]));
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 29 22:05:31 GMT 2023
    - 18.3K bytes
    - Viewed (0)
  10. tensorflow/c/c_test_util.h

      void SetOutputs(std::initializer_list<TF_Operation*> outputs);
      void SetOutputs(const std::vector<TF_Output>& outputs);
      void SetTargets(std::initializer_list<TF_Operation*> targets);
    
      void Run(TF_Status* s);
    
      void CloseAndDelete(TF_Status* s);
    
      TF_Tensor* output_tensor(int i) { return output_values_[i]; }
    
      TF_Session* mutable_session() { return session_; }
    
     private:
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 09 01:06:53 GMT 2018
    - 6K bytes
    - Viewed (0)
Back to top