Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 120 for Ptr (0.13 sec)

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

    namespace tensorflow {
    namespace parallel_device {
    
    TEST(PARALLEL_DEVICE, TestRemoteBasic) {
      std::unique_ptr<TFE_ContextOptions, decltype(&TFE_DeleteContextOptions)> opts(
          TFE_NewContextOptions(), TFE_DeleteContextOptions);
      std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> status(
          TF_NewStatus(), TF_DeleteStatus);
      std::unique_ptr<TFE_Context, decltype(&TFE_DeleteContext)> context(
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 22:09:57 GMT 2023
    - 6.7K bytes
    - Viewed (0)
  2. tensorflow/c/eager/custom_device_test.cc

    }
    
    TEST(CUSTOM_DEVICE, MakeVariable) {
      std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> status(
          TF_NewStatus(), TF_DeleteStatus);
      std::unique_ptr<TFE_ContextOptions, decltype(&TFE_DeleteContextOptions)> opts(
          TFE_NewContextOptions(), TFE_DeleteContextOptions);
      std::unique_ptr<TFE_Context, decltype(&TFE_DeleteContext)> context(
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Aug 27 23:39:24 GMT 2020
    - 18.4K bytes
    - Viewed (0)
  3. istioctl/pkg/cli/option.go

    	istioNamespace *string
    
    	defaultNamespace string
    }
    
    func AddRootFlags(flags *pflag.FlagSet) *RootFlags {
    	r := &RootFlags{
    		kubeconfig:     ptr.Of[string](""),
    		configContext:  ptr.Of[string](""),
    		namespace:      ptr.Of[string](""),
    		istioNamespace: ptr.Of[string](""),
    	}
    	flags.StringVarP(r.kubeconfig, FlagKubeConfig, "c", "",
    		"Kubernetes configuration file")
    	flags.StringVar(r.configContext, FlagContext, "",
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 18:01:27 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  4. istioctl/pkg/cli/context.go

    }
    
    func NewCLIContext(rootFlags *RootFlags) Context {
    	if rootFlags == nil {
    		rootFlags = &RootFlags{
    			kubeconfig:       ptr.Of[string](""),
    			configContext:    ptr.Of[string](""),
    			namespace:        ptr.Of[string](""),
    			istioNamespace:   ptr.Of[string](""),
    			defaultNamespace: "",
    		}
    	}
    	return &instance{
    		RootFlags: *rootFlags,
    	}
    }
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  5. tensorflow/c/eager/tfe_monitoring_internal.h

      using TFE_MonitoringGauge::TFE_MonitoringGauge;
    };
    
    struct TFE_MonitoringBuckets {
      explicit TFE_MonitoringBuckets(
          std::function<std::unique_ptr<tensorflow::monitoring::Buckets>(void)>
              fn) {
        create_buckets = fn;
      }
    
      std::function<std::unique_ptr<tensorflow::monitoring::Buckets>(void)>
          create_buckets;
    };
    
    struct TFE_MonitoringSamplerCell {
      tensorflow::monitoring::SamplerCell cell;
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Aug 11 01:20:50 GMT 2021
    - 5.2K bytes
    - Viewed (0)
  6. tensorflow/c/eager/parallel_device/parallel_device_lib_test.cc

    using ::testing::HasSubstr;
    
    TEST(PARALLEL_DEVICE_LIB, TestOpWithError) {
      std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> status(
          TF_NewStatus(), TF_DeleteStatus);
      std::unique_ptr<TFE_ContextOptions, decltype(&TFE_DeleteContextOptions)> opts(
          TFE_NewContextOptions(), TFE_DeleteContextOptions);
      std::unique_ptr<TF_Buffer, decltype(&TF_DeleteBuffer)> config(
          TF_CreateConfig(
              /*xla*/ false,
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 08 23:47:35 GMT 2021
    - 15.3K bytes
    - Viewed (0)
  7. tensorflow/c/eager/immediate_execution_operation.h

      virtual absl::optional<ManagedStackTrace> GetStackTrace() = 0;
    
      virtual void SetStepId(int64_t step_id) = 0;
    
      // For LLVM style RTTI.
      static bool classof(const AbstractOperation* ptr) {
        return ptr->getKind() == kEager || ptr->getKind() == kTfrt;
      }
    
     protected:
      explicit ImmediateExecutionOperation(AbstractOperationKind kind)
          : AbstractOperation(kind) {}
      ~ImmediateExecutionOperation() override {}
    };
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Sep 26 22:40:32 GMT 2022
    - 3.6K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

      const std::string filepath = GetURIForPath("a_file");
      std::unique_ptr<WritableFile> new_file;
      Status status = env_->NewWritableFile(filepath, &new_file);
      EXPECT_PRED2(UnimplementedOrReturnsCode, status, Code::OK);
    }
    
    TEST_P(ModularFileSystemTest, TestCreateFileNonExisting) {
      const std::string filepath = GetURIForPath("dir_not_found/a_file");
      std::unique_ptr<WritableFile> new_file;
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  9. tensorflow/c/c_test_util.cc

      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];
    
      TF_Operation* const* targets_ptr = targets_.empty() ? nullptr : &targets_[0];
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Oct 15 03:16:52 GMT 2021
    - 17.8K bytes
    - Viewed (2)
  10. tensorflow/c/checkpoint_reader.h

      // Invariant: exactly one of "reader_" and "v2_reader_" is non-null.
      std::unique_ptr<TensorSliceReader> reader_;
      std::unique_ptr<BundleReader> v2_reader_;
    
      std::unique_ptr<TensorSliceReader::VarToShapeMap> var_to_shape_map_;
      std::unique_ptr<TensorSliceReader::VarToDataTypeMap> var_to_data_type_map_;
    
      CheckpointReader(const CheckpointReader&) = delete;
      void operator=(const CheckpointReader&) = delete;
    };
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Oct 12 08:49:52 GMT 2023
    - 3.1K bytes
    - Viewed (0)
Back to top