Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for dyn (0.12 sec)

  1. istioctl/pkg/util/configdump/wrapper.go

    	typ, err := r.Types.FindMessageByURL(url)
    	if err != nil {
    		// Here we ignore the error since we want istioctl to ignore unknown types due to the Envoy version change
    		msg := exprpb.Type{TypeKind: &exprpb.Type_Dyn{Dyn: &emptypb.Empty{}}}
    		return msg.ProtoReflect().Type(), nil
    	}
    	return typ, nil
    }
    
    // Wrapper is a wrapper around the Envoy ConfigDump
    // It has extra helper functions for handling any/struct/marshal protobuf pain
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sun Apr 21 17:42:54 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  2. tensorflow/c/eager/tracing_utils.cc

    namespace tracing {
    
    Status MaybeSetOpName(AbstractOperation* op, const char* op_name) {
      if (isa<TracingOperation>(op)) {
        TF_RETURN_IF_ERROR(dyn_cast<TracingOperation>(op)->SetOpName(op_name));
      }
      if (isa<gradients::TapeOperation>(op)) {
        TF_RETURN_IF_ERROR(MaybeSetOpName(
            dyn_cast<gradients::TapeOperation>(op)->GetBackingOperation(),
            op_name));
      }
      return absl::OkStatus();
    }
    }  // namespace tracing
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Feb 27 13:57:45 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_unified_experimental.cc

    //
    // =============================================================================
    
    using tensorflow::AbstractFunction;
    using tensorflow::AbstractTensorHandle;
    using tensorflow::DataType;
    using tensorflow::dyn_cast;
    using tensorflow::OutputList;
    using tensorflow::Status;
    using tensorflow::unwrap;
    using tensorflow::wrap;
    using tensorflow::tracing::CreateTracingExecutionContext;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 9K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/compare/comparator.go

    	if err != nil {
    		// istioctl should keep going if it encounters new Envoy versions; ignore unknown types
    		return &exprpb.Type{TypeKind: &exprpb.Type_Dyn{Dyn: &emptypb.Empty{}}}, nil
    	}
    	return legacyproto.MessageV1(mt.New().Interface()), nil
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sun Apr 21 17:42:54 GMT 2024
    - 3.7K bytes
    - Viewed (1)
  5. tensorflow/c/eager/unified_api_test.cc

      }
      AbstractContextPtr ctx(BuildFunction("test_fn"));
      AbstractTensorHandlePtr x;
      {
        tracing::TracingTensorHandle* x_raw = nullptr;
        PartialTensorShape shape;
        Status s = dyn_cast<tracing::TracingContext>(ctx.get())->AddParameter(
            DT_FLOAT, shape, &x_raw);
        ASSERT_EQ(errors::OK, s.code()) << s.message();
        x.reset(x_raw);
      }
    
      PartialTensorShape shape;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Feb 27 13:57:45 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  6. tensorflow/c/eager/unified_api_testutil.cc

      tracing::TracingTensorHandle* handle = nullptr;
      for (auto input : inputs) {
        PartialTensorShape shape;
        TF_RETURN_IF_ERROR(input->Shape(&shape));
        TF_RETURN_IF_ERROR(dyn_cast<tracing::TracingContext>(ctx)->AddParameter(
            input->DataType(), shape, &handle));
        params->emplace_back(handle);
      }
      return absl::OkStatus();
    }
    
    // Runs `model` maybe wrapped in a function.
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Feb 27 13:57:45 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  7. tensorflow/c/eager/gradients_test.cc

                       /*raw_device_name=*/nullptr, &forward_op);
      ASSERT_EQ(errors::OK, s.code()) << s.message();
      if (isa<TracingOperation>(check_numerics_op.get())) {
        s = dyn_cast<TracingOperation>(check_numerics_op.get())
                ->SetOpName("check_numerics");
        ASSERT_EQ(errors::OK, s.code()) << s.message();
      }
      s = AddInput(check_numerics_op.get(), t.get(), &forward_op);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 7K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/gradients/nn_grad.cc

      if (!isa<ImmediateExecutionContext>(ctx)) {
        // TODO(b/168850692): Fix this.
        return errors::Unimplemented(
            "BroadcastMul is not supported in tracing mode yet.");
      }
      auto imm_ctx = dyn_cast<ImmediateExecutionContext>(ctx);
      AbstractTensorPtr minus_1(imm_ctx->CreateInt32Scalar(-1));
      ImmediateTensorHandlePtr dim(imm_ctx->CreateLocalHandle(minus_1.get()));
      AbstractTensorHandle* expand_dims_outputs;
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  9. ci/official/containers/linux_arm64/builder.devtoolset/gcc9-fixups.patch

    -  return dynamic_addr - static_addr;
    +    _DYNAMIC sysmbol is used here as its link-time address stored in
    +    the special unrelocated first GOT entry.  */
    +
    +    extern ElfW(Dyn) _DYNAMIC[] attribute_hidden;
    +    return (ElfW(Addr)) &_DYNAMIC - elf_machine_dynamic ();
     }
     
     /* Set up the loaded object described by L so its unrelocated PLT
    Others
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 8.9K bytes
    - Viewed (0)
Back to top