Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Create (0.13 sec)

  1. tensorflow/c/eager/c_api_experimental.cc

    TFE_MonitoringSampler0* TFE_MonitoringNewSampler0(
        const char* name, TFE_MonitoringBuckets* buckets, TF_Status* status,
        const char* description) {
      auto* result = new TFE_MonitoringSampler0(
          {name, buckets->create_buckets(), description});
      tsl::Set_TF_Status_from_Status(status, result->sampler->GetStatus());
      if (!result->sampler->GetStatus().ok()) {
        delete result;
        return nullptr;
      }
      return result;
    }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 35.9K bytes
    - Viewed (3)
  2. tensorflow/c/c_api_experimental.cc

          status->status = TF_TensorToTensor(input_tensors[i], &input_tensor);
          if (!status->status.ok()) return;
          input_tensors_vector[i] = &input_tensor;
        }
      }
    
      // Create an inference context with dummy values, which will be updated later.
      InferenceContext c(TF_GRAPH_DEF_VERSION, node_def, op_reg_data->op_def,
                         std::vector<ShapeHandle>(num_inputs), input_tensors_vector,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
Back to top